Hi Uwe,
Uwe Schindler schrieb:
Hi Mike,
if you want to mix and/or in one query, always use parenthesis. The
operator precedence is strange with the default query parser. In
contrib there is another one (called PrecedenceQueryParser) that can
handle this but is incompatible with existing queries
Chris Hostetter schrieb:
: 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/
Thanks for the blog entry. I will read through that!
---
it.org]
> Sent: Tuesday, January 03, 2012 6:12 PM
> To: java-user@lucene.apache.org
> Subject: RE: Boolean OR does not work as described
>
>
> : if you want to mix and/or in one query, always use parenthesis. The
>
> or better yet, train yourself not to us
: 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
Hi Mike,
if you want to mix and/or in one query, always use parenthesis. The operator
precedence is strange with the default query parser. In contrib there is
another one (called PrecedenceQueryParser) that can handle this but is
incompatible with existing queries. The parser in contrib on the