I vaguely recall seeing this situation myself a couple of years ago. I think it was because there were multiple occurrences of the pair of terms in a single document vs. a lesser number of occurrences of all three of the terms in a single document.

-- Jack Krupansky

-----Original Message----- From: Ahmet Arslan
Sent: Friday, May 11, 2012 3:31 PM
To: solr-user@lucene.apache.org
Subject: Re: And results before Or results

I want to have a strick enforcement
that In case of a 3 word search, those
results that match all 3 term should be presented ahead of
those that match
2 terms when I set mm=2.

I have seen quite some cases where, those results that match
2 out of 3
words appear ahead of those matching all 3 words.

Yes you are right that can happen. See Jan's magic solution -that uses map function- for that. http://search-lucene.com/m/nK6t9j1fuc2/

Reply via email to