Nevertheless, MLT has a plenty of shades, but fied logic seems pretty
disjunctive regardless of fields
https://github.com/apache/lucene/blob/70abd1f41e223f1a175f717059d63825bf236249/lucene/queries/src/java/org/apache/lucene/queries/mlt/MoreLikeThis.java#L609


On Tue, Mar 25, 2025 at 12:37 AM Dmitri Maziuk <dmitri.maz...@gmail.com>
wrote:

> Hi all,
>
> is there a way to run "more like this" with x = foo AND y = bar?
>
> What we do now is run a 2nd query looking for "x:foo AND y:bar" after
> extracting foo and bar from the initial result. That is programmed on
> the front-end and we were asked if that has to be that way. So I took a
> closer look at MLT.
>
> In my experiments, "mlt.fl=full_date" returns 234 hits whereas
> "mlt.fl=full_date,county" returns 20323. The latter returns non-matching
> counties so it looks like "full_date OR county".
>
> Is MLT field list only "OR", or am I missing something?
>
> TIA,
> Dima
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to