lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: How is Number of Boolean Clauses calculated - Minimum Should Match?
Date Wed, 05 Oct 2011 18:19:09 GMT

: > Presumably this query would fail, since you've only got three clauses.
: >  Easy to verify.
: 
: Seems like different behaviour compared to Solr. Probably Solr is
: intelligent enough to reduce the parameter to the maximum value if it is
: too large.

correct, the dismax parser in solr is smart enough not to calculate an 
illegal value for minNrShouldMatch using the mm param.

: >> If so, what is the problem in Solr with Stopwords and the Dismax-Parser?

the problem people sometimes have understanding the interaction of the dismax 
parser and stopwords comes from using sotpwords in the analyzers 
for *some* fields they are querying but not others, and then being 
suprised that the stopwords are still part of their overall query (in the 
fields where they didn't use them in their analyzer)...

https://wiki.apache.org/solr/DisMax
http://www.lucidimagination.com/blog/2010/05/23/whats-a-dismax/

...note in particula the "Where people tend to get tripped up..." para in 
that blog post


-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message