lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "DisMaxQParserPlugin" by GlenStampoultzis
Date Tue, 22 Nov 2011 02:43:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DisMaxQParserPlugin" page has been changed by GlenStampoultzis:

The mm default setting seems to be effected by the default operator in newer versions of Solr.

  Full details on the variety of complex expressions supported are explained in detail [[|here]].
- The default value is 100% (all clauses must match)
  In Solr 1.4 and prior, you should basically set mm=0 if you want the equivilent of q.op=OR,
and mm=100% if you want the
  equivilent of q.op=AND. In 3.x and trunk the default value of mm is dictated by the q.op
- param (q.op=AND => mm=100%; q.op=OR => mm=0%).
+ param (q.op=AND => mm=100%; q.op=OR => mm=0%). Keep in mind the default operator is
effected by your schema.xml <solrQueryParser defaultOperator="xxx"/> entry. In older
versions of Solr the default value is 100% (all clauses must match)
  === pf (Phrase Fields) ===
  Once the list of matching documents has been identified using the "fq" and "qf" params,
the "pf" param can be used to "boost" the score of documents in cases where all of the terms
in the "q" param appear in close proximity.

View raw message