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: > > "