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.

On Fri, May 11, 2012 at 11:10 AM, Jack Krupansky <j...@basetechnology.com>wrote:

> Strict enforcement? Of what? Your query rule seems rather loose, and
> compatible with simple OR of the terms.
>
>
> -- Jack Krupansky
>
> -----Original Message----- From: Karthick Duraisamy Soundararaj
> Sent: Friday, May 11, 2012 11:03 AM
> To: solr-user@lucene.apache.org
> Subject: Re: And results before Or results
>
>
> Sure but it doesnt seem to be doing a strict enforcement.
>
> On Fri, May 11, 2012 at 10:56 AM, Jack Krupansky <j...@basetechnology.com>
> **wrote:
>
>  If you simply "OR" the terms (or specify no operator and make sure that
>> the default operator is "OR"), normal query scoring will rank results with
>> more terms matching higher.
>>
>>
>> -- Jack Krupansky
>>
>> -----Original Message----- From: Karthick Duraisamy Soundararaj
>> Sent: Friday, May 11, 2012 10:44 AM
>> To: solr-user@lucene.apache.org
>> Subject: And results before Or results
>>
>> Lets say I have a query like "A B C". I want all the results that have "A
>> B
>> and C" in them ahead of "A B" or "B C" or any combination of them.
>>
>> My rule is this:
>>       "If there are there words A,B,C : Results of all three words
>> first, followed by 2 out of 3 words and then 1 out of 3 words."
>>
>> Is that possible at all?
>>
>>
>

Reply via email to