: A more nuanced answer would be to finesse the MM parameter so shorter
: multi-word queries behave as AND, and longer queries allow more
: flexibility (this could probably be achieved by using a  high
: percentage setting, but I'd have to double check how the rounding is
: done).

you are correct, something like "5<90%" will say that in a query of up to
5 clauses, they are all required, but once you have 6 clauses, only 90%
rounded down are required ... if you want the 90% to be "round up" use
"3<-10%" (the percentages are allways "rounded down" but if it's negative,
it's rounded down before the subtraction happens, so -10% is like rounding
up 90%)

if you want strict "AND" style matching with dismax, just use "100%" for
mm.

MinShouldMatch is one of the few things about DisMax that is extremely
well documented...

http://lucene.apache.org/solr/api/org/apache/solr/util/doc-files/min-should-match.html


-Hoss

Reply via email to