Re: Simple Query Question

2008-08-19 Thread Erick Erickson
As Ian says, but you can set the default to AND or OR, see the API docs. The 'out of the box' default is OR. See QueryParser.setDefaultOperator Best Erick On Tue, Aug 19, 2008 at 4:30 AM, Ian Lea <[EMAIL PROTECTED]> wrote: > No, lucene does not automatically replace spaces with AND. > > See ht

Re: Simple Query Question

2008-08-19 Thread Ian Lea
No, lucene does not automatically replace spaces with AND. See http://lucene.apache.org/java/2_3_2/queryparsersyntax.html -- Ian. On Tue, Aug 19, 2008 at 1:34 AM, DanaWhite <[EMAIL PROTECTED]> wrote: > > For some reason I am thinking I read somewhere that if you queried something > like: > > "

Simple Query Question

2008-08-18 Thread DanaWhite
s message in context: http://www.nabble.com/Simple-Query-Question-tp19042444p19042444.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]