lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Dismax params, mm &lt explanation
Date Sun, 25 Oct 2009 21:03:45 GMT

What you are looking at is an XML escaped version of this string...

	2<-1 3<-2 6<100%

...the syntax is documented here...

http://wiki.apache.org/solr/DisMaxRequestHandler#mm_.28Minimum_.27Should.27_Match.29
http://lucene.apache.org/solr/api/org/apache/solr/util/doc-files/min-should-match.html

...note that the string you have listed there actually makes very little 
sense because of the 100% condition.  it says that for queries of more 
then 6 clauses all of them are required (usually the mm param get's less 
strict as the number of clauses increase)

(FYI: As the creator of the 'mm' param syntax, One of my favorite parts of 
the new Solr 1.4 book is the explanation of mm options with multiple 
clauses.  It's descibes in in a completely differnet way from anything i'd 
ever thought of before (i was convinced it was a huge mistake the first 
two times i read that section before the light bulb went off and i 
realized how brilliant it was) and is probably a lot easier for many 
people to understand -- if you have the book it's on p139)

:         2&lt;-1 3&lt;-2 6&lt;100%
	...
: I requested solr to match atleast two fields, which i understood from the
: documents. Can someone give me explanations for other params in it? 
: 
: "lt;-1 3"
: 
: "lt;-2 6"
: 
: "lt;100%"



-Hoss


Mime
View raw message