Re: DisjunctionMinQuery

2023-11-10 Thread Michael Sokolov
t; > > we have a custom term-level score overriding term frequency and we want > > to > > > take the min of that as part of our scoring function. Maybe it's a > niche > > > use case? > > > > > > Thanks, > > > Marc > > >

Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
scoring function. Maybe it's a niche > > use case? > > > > Thanks, > > Marc > > > > On Wed, Nov 8, 2023 at 3:19 PM Michael Froh wrote: > > > >> Hi Marc, > >> > >> Can you clarify what the semantics of a DisjunctionMinQuery

Re: DisjunctionMinQuery

2023-11-09 Thread Uwe Schindler
Wed, Nov 8, 2023 at 3:19 PM Michael Froh wrote: Hi Marc, Can you clarify what the semantics of a DisjunctionMinQuery would be? Would you keep the score for the *lowest* scoring disjunct (plus some tiebreaker applied to the other matching disjuncts)? I'm trying to imagine how that would work

Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
it's a niche use case? Thanks, Marc On Wed, Nov 8, 2023 at 3:19 PM Michael Froh wrote: > Hi Marc, > > Can you clarify what the semantics of a DisjunctionMinQuery would be? Would > you keep the score for the *lowest* scoring disjunct (plus some tiebreaker > applied to the othe

Re: DisjunctionMinQuery

2023-11-08 Thread Michael Froh
Hi Marc, Can you clarify what the semantics of a DisjunctionMinQuery would be? Would you keep the score for the *lowest* scoring disjunct (plus some tiebreaker applied to the other matching disjuncts)? I'm trying to imagine how that would work compared to the classic DisMax use-case. Sa

DisjunctionMinQuery

2023-11-08 Thread Marc D'Mello
Hi all, I noticed we have a DisjunctionMaxQuery <https://github.com/apache/lucene/blob/branch_9_7/lucene/core/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java> but not a corresponding DisjunctionMinQuery. I was just wondering if there was a specific reason for that? Or is it jus