: Right, the Solr/Lucene query syntax isn't true Boolean logic, so
: applying all the neat DeMorgan's rules is sometimes surprising.

And more specificly, mixing "boolean" operators (AND/OR) with prefix 
operators (+/-) is a recipe for disaster.  In an expression like this..

        XXX OR -YYY

...the "OR" fights against the "-" to modify the "BooleanClause.Occur" on 
the YYY clause -- something that should have been apparent in the 
debugQUery toString info.

-Hoss

Reply via email to