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, 2, 3, 4) > > Is there a way to do that in Lucene Query language? > > Thanks, > Dean > > This message and any attachments are intended only for the use of the > addressee and > may contain information that is privileged and confidential. If the reader of > the > message is not the intended recipient or an authorized representative of the > intended recipient, you are hereby notified that any dissemination of this > communication is strictly prohibited. If you have received this communication > in > error, please notify us immediately by e-mail and delete the message and any > attachments from your system. > --- Denis Bazhenov <dot...@gmail.com> --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org