lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
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.

Doug


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message