The query parser has a option to change that. After creating the query
parser, just set the corresponding option before parsing the query.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: Ariel [mailto:[email protected]]
> Sent: Wednesday, April 08, 2009 4:46 PM
> To: lucene user
> Subject: How can I change that lucene use by default the AND operator
> between terms ???
> 
> When I do a search using lucene internally lucene use by default the OR
> operator between terms, How can I change that lucene use by default the
> AND
> operator between terms ???
> 
> Regards
> Ariel


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to