You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2004/07/09 22:43:19 UTC

Re: Role of "Operator" in QueryParser

Moving to lucene-user list.

Correct.
If I remember correctly, setting it to AND will turn query like: foo
bar into foo AND bar (or +foo +bar).

Otis

--- jitender ahuja <aj...@aalayance.com> wrote:
> Hi All,
> 
>          Can anyone, particularly those more enlightened in the inner
> details of Lucene, tell the specific role of "Operator" in
> QueryParser class.
> Can it be used to set an AND operator for multiple terms having
> query.
> 
> 
> Regards,
> Jitender


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