Re: Simplification of boolean query failed

2011-12-05 Thread Chris Hostetter
: 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

Re: Simplification of boolean query failed

2011-12-05 Thread Erick Erickson
Right, the Solr/Lucene query syntax isn't true Boolean logic, so applying all the neat DeMorgan's rules is sometimes surprising. The first form take all records with event dates or that fall outside your range and inverts the results. The second selects all documents that fall in the indicated da

Simplification of boolean query failed

2011-12-02 Thread Mark D Sievers
I've put the question nicely formatted on StackOverflow here http://stackoverflow.com/questions/8360257/solr-lucene-why-is-this-or-query-failing-when-the-two-individual-queries-suc Here is that question Verbatim: I have a Solr document schema with with a solr.TrieDateField and noticed this boolea