lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Changing default QueryParser operator from OR to AND
Date Fri, 10 Feb 2006 13:41:37 GMT

On Feb 10, 2006, at 4:37 AM, <Tim.Wright@informa.com>  
<Tim.Wright@informa.com> wrote:
> IF QueryParser gets a phrase with a number of words (ie: "here are
> words") it uses the implicit operator OR - "here OR are OR words". LIA
> on p94 says the operator "by default is OR", implying that there  
> may be
> some way to change this.
>
> We'd really like the default to be AND. Is that possible?

Are you feeling lucky?!  :)

	<http://www.lucenebook.com/search?query=QueryParser+default+operator>

Hit #1, answer pretty distillable even from the brief snippet.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message