I think there's a bug, if I set the default operator to be OR, when I run

java org.apache.lucene.queryParser.QueryParser "a AND b OR c"

it will give me the result of "+a +b c"
if I set the default operator to be AND, and run it with the term "a b OR
c", it will give me "+a b c", which is different

-----Original Message-----
From: Hal�csy P�ter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 4:49 AM
To: Lucene Users List; Clemens Marschner
Subject: RE: GoogleQueryParser




>-----Original Message-----
>From: Eric Jain [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 11, 2002 1:44 PM
>To: Clemens Marschner
>Cc: Lucene Users List
>Subject: Re: GoogleQueryParser
>
>
>> queryParser.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
>
>Thanks, that would be exactely what I need. Must be a new 
>method, not yet in
>the public release?
>
check out the new QueryParser from the cvs

peter

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to