: if you want to mix and/or in one query, always use parenthesis. The
or better yet, train yourself not to use AND, OR and NOT...
http://www.lucidimagination.com/blog/2011/12/28/why-not-and-or-and-not/
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Boolean OR does not work as described
| Tweet |
|
Search Discussions
Discussion Posts
Previous
Follow ups
- Uwe Schindler: Hi Hoss, Hey, nice blog article - it makes my previous mail obsolete :-) Explained perfectly! Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org
- Michael-O: Hi Anna, This is it but the documentation is incomplete in that case or simply erroneous. I expect boolean clauses to be implemented correctly or marked as non-comparable. I will file a ticket about that. In my case this is not trivial. I have a meta query language which suits both SQL and Lucene. Our users can search either the index or an Oracle database in a completely transparent way. I have to change the parser/transformer for that. Thanks, Mike
- Michael-O: Thanks for the blog entry. I will read through that! --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org
Related Discussions
Discussion Overview
| group | java-user
|
| categories | lucene |
| posted | Jan 3, '12 at 3:41p |
| active | Jan 3, '12 at 9:26p |
| posts | 10 |
| users | 4 |
| website | lucene.apache.org |
