Interesting, omitTf=true eventhough it would give strict enforcement, wouldnt it affect the relevancy? Like, I am wondering if the ordering amongst the three word matches would be not as good as it would be when we have omitNorms=true&omitTf=true. Do you have an idea?
On Mon, May 21, 2012 at 8:51 PM, Chris Hostetter <hossman_luc...@fucit.org>wrote: > > : 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. > > which can happen because of tf/idf and length normalization. > > if you disable all of those things for hte fields you > search on (omitNorms=true omitTf=true) you should see a strict ordering > based on the number of matching clauses. > > > -Hoss > -- -- Karthick D S Master's in Computer Engineering ( Software Track ) Syracuse University Syracuse - 13210 New York United States of America