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 Ravi <ra...@htinc.com> on 2004/12/08 20:03:33 UTC
'IN' type search
Hi
How do you get all documents in lucene where a particular field value
is in a given list of values (like SQL IN). What kind of Query class
should I use?
Thanks in advance.
Ravi.
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: 'IN' type search
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hello,
You can use BooleanQuery for that.
Otis
--- Ravi <ra...@htinc.com> wrote:
>
> Hi
> How do you get all documents in lucene where a particular field
> value
> is in a given list of values (like SQL IN). What kind of Query class
> should I use?
>
> Thanks in advance.
> Ravi.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org