Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
Hi all, Once again, thanks for the responses! After thinking about this a bit more, I think Michael's response makes sense now. I do agree that partial matches shouldn't be ranked higher than conjunctive matches, so I think it doesn't make sense in my use case to use a DisjunctiveMinQuery (I

Re: DisjunctionMinQuery

2023-11-09 Thread Uwe Schindler
Hi, in that case you should use something like 1/x as your scoring function in the sub-clauses. In Lucene scores should go up for more relevancy. This must also apply for function scoring. Uwe Am 09.11.2023 um 19:14 schrieb Marc D'Mello: Hi Michael, Thanks for the response! So to answer

Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
Hi Michael, Thanks for the response! So to answer your first question, yes this would keep the lowest score from the matching sub-scorers. Our use case is that 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