Thanks Raffaele, grouping works. I agree with you, from what I've learn,
AND has higher precedence, so that means the query should also work
without grouping right? Unless i'm missing something fundamental?
On Tuesday, November 6, 2012 5:06:36 PM UTC-5, Raffaele Sena wrote:
I am not sure AND has a higher priority than OR in Lucene. I would try
"grouping":
This seems to be an issue with the way Lucene parses queries, which is
not resolved yet. So I think the best approach here is to use explicit
grouping through those parenthesis.
Thanks Raffaele, grouping works. I agree with you, from what I've learn, AND
has higher precedence, so that means the query should also work without
grouping right? Unless i'm missing something fundamental?
On Tuesday, November 6, 2012 5:06:36 PM UTC-5, Raffaele Sena wrote:
I am not sure AND has a higher priority than OR in Lucene. I would try
"grouping":
This seems to be an issue with the way Lucene parses queries, which is
not resolved yet. So I think the best approach here is to use explicit
grouping through those parenthesis.
On Wed, Nov 7, 2012 at 1:44 AM, gchen <kevi...@gmail.com <javascript:>>
wrote:
Thanks Raffaele, grouping works. I agree with you, from what I've learn,
AND
has higher precedence, so that means the query should also work without
grouping right? Unless i'm missing something fundamental?
On Tuesday, November 6, 2012 5:06:36 PM UTC-5, Raffaele Sena wrote:
I am not sure AND has a higher priority than OR in Lucene. I would try
"grouping":
I usually recommend to use prefix operators: "+some +random other"
this way its pretty clear what is meant and you won't run into weird
brackets problems.
This seems to be an issue with the way Lucene parses queries, which is
not resolved yet. So I think the best approach here is to use explicit
grouping through those parenthesis.
Thanks Raffaele, grouping works. I agree with you, from what I've
learn, AND
has higher precedence, so that means the query should also work without
grouping right? Unless i'm missing something fundamental?
On Tuesday, November 6, 2012 5:06:36 PM UTC-5, Raffaele Sena wrote:
I am not sure AND has a higher priority than OR in Lucene. I would try
"grouping":
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.