lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
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)...

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message