Solr's mm parameter - Explanation of Min Number Should Match - Vijay Mhaskar's Blog
This article explains the format used for specifying the "Min Number Should Match" criteria of the BooleanQuery objects built by the DisMaxRequestHandler. Using this it is possible to specify a percentage of query words (or blocks) that should appear in a document.
There are 3 types of "clauses" that Solr (Lucene) knows about: mandatory, prohibited, and 'optional'. By default all words or phrases specified in the "q" param are treated as "optional" clauses unless they are preceeded by a "+" or a "-". When dealing with these "optional" clauses, the "mm" option makes it possible to say that a certain minimum number of those clauses must match (mm).
Read full article from Solr's mm parameter - Explanation of Min Number Should Match - Vijay Mhaskar's Blog
No comments:
Post a Comment