1. Yes, the default for mm is 1.
2. It depends on what you are really trying to do - you haven't told us.
Generally, mm=1 is equivalent to q.op=OR, and mm=100% is equivalent to
q.op=AND.
Generally, use q.op unless you really know what you are doing.
Generally, the intent of mm is to set the minimum number of OR/SHOULD
clauses that must match on the top level of a query.
-- Jack Krupansky
-----Original Message-----
From: S.L
Sent: Sunday, March 30, 2014 2:25 AM
To: solr-user@lucene.apache.org
Subject: eDismax parser and the mm parameter
Hi All,
I am planning to use the eDismax query parser in SOLR to give boost to
documents that have a phrase in their fields present. Now there is a mm
parameter in the edismax parser query , since the query typed by the user
could be of any length (i.e. >=1) I would like to set the mm value to 1 . I
have the following questions regarding this parameter.
1. Is it set to 1 by default ?
2. In my schema.xml the defaultOperator is set to "AND" should I set it
to "OR" inorder for the edismax parser to be effective with a mm of 1?
Thanks in advance!