> 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/