Thanks much,
Dean
-Original Message-
From: Denis Bazhenov [mailto:dot...@gmail.com]
Sent: Monday, June 20, 2011 6:27 PM
To: java-user@lucene.apache.org
Subject: Re: how to do something like sql in () clause
SQL IN operator behaves as OR operator. So as Occur.SHOULD does. It will match
Also, how do you write that in the query syntax?
>
> Thanks,
> Dean
>
> -Original Message-
> From: Denis Bazhenov [mailto:dot...@gmail.com]
> Sent: Monday, June 20, 2011 5:50 PM
> To: java-user@lucene.apache.org
> Subject: Re: how to do something like sql in () clau
to do something like sql in () clause
You could use BooleanQuery with Occur.SHOULD quantificator
http://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/search/BooleanClause.Occur.html#SHOULD
On Jun 21, 2011, at 9:24 AM, Hiller, Dean x66079 wrote:
> I need to do something like a luc
You could use BooleanQuery with Occur.SHOULD quantificator
http://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/search/BooleanClause.Occur.html#SHOULD
On Jun 21, 2011, at 9:24 AM, Hiller, Dean x66079 wrote:
> I need to do something like a lucene query with
>
> Where accountId in ( 1,