The query treatment is probably correct, because the default operator is
"AND", so when "and" gets treated as a stop word and ignored the default
operator is still AND, but when "or" is treated as a stop word and ignored
the operator changes from "OR" to the default implicit "AND".
-- Jack Kru
Thanks, Jan.
For now, I would go for the quick solution and just have something that
removes and|or before sending the query to Solr.
The issue in https://issues.apache.org/jira/browse/SOLR-3086 SOLR-3086 is
not what I need. I don't want to totally disable boolean operators, just
limit them to
Hi,
eDismax does its own query parsing before shipping the terms to Analysis (which
is responsible for stopword removal). That's why these are not treated as
stopwords. The quickest solution for you is probably to remove (or|OR|and|AND)
before sending the query to Solr.
Also see SOLR-3086 for