: <str name="mm">2<-25%</str> : my query is = monty+python+scandal
: i just issue monty+python i get bunch of documents but when i issue : monty+python+scandal then i just get 1. isn't the case that i should : get documents which match monty+python+scandal then followed by : documents that match monty+python or python+scandal or monty+scandal as per mm criteria? as mentioned on the wiki... http://wiki.apache.org/solr/DisMaxRequestHandler If there are less then 3 optional clauses, they all must match; if there are 3 or more, then 75% must match, rounded up: "2<-25%" ...75% of 3 is 2.25, rounded up is 3, so all 3 words are required. more details can be found in the docs... http://lucene.apache.org/solr/api/org/apache/solr/util/doc-files/min-should-match.html : some one explain from above example how many clauses we have ( i think : it is 4 since 3 words across five fields and a phrase boost correct me : if i am wrong) for minimal match criteria. the mm only applies to the clauses from the words, you have 3 words, so you have 3 clauses. if you used quotes, there are less... monty python scandal ... 3 clauses "monty python" scandal ... 2 clauses -Hoss