lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: GoogleQueryParser
Date Thu, 12 Sep 2002 23:15:25 GMT
Halácsy Péter wrote:
> To be exact it's not a bug, it's feature ;) Well, the structured query language of Lucene
(and Google and others) is not a strict boolean language. For example I think the QueryParser
of Lucene do not support parenthesis: a AND (b OR C) 

Lucene's query parser does support parentheses.  As with programming 
language, if you really care about operator precedence, parenthesize 
heavily.  A fully parenthesized boolean query should always be 
interpreted correctly by Lucene's query parser.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message