This: http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/BooleanQuery.TooManyClauses.html ?
You can control that limit via http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/BooleanQuery.html#maxClauseCount Otis --- Jerry Jalenak <[EMAIL PROTECTED]> wrote: > OK. But isn't there a limit on the number of BooleanQueries that can > be > combined with AND / OR / etc? > > > > Jerry Jalenak > Senior Programmer / Analyst, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > > [EMAIL PROTECTED] > > > > -----Original Message----- > > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 20, 2005 5:05 PM > > To: Lucene Users List > > Subject: Re: Filtering w/ Multiple Terms > > > > > > > > On Jan 20, 2005, at 5:02 PM, Jerry Jalenak wrote: > > > > > In looking at the examples for filtering of hits, it looks > > like I can > > > only > > > specify a single term; i.e. > > > > > > Filter f = new QueryFilter(new TermQuery(new Term("acct", > > > "acct1"))); > > > > > > I need to specify more than one term in my filter. Short of > using > > > something > > > like ChainFilter, how are others handling this? > > > > You can make as complex of a Query as you want for > > QueryFilter. If you > > want to filter on multiple terms, construct a BooleanQuery > > with nested > > TermQuery's, either in an AND or OR fashion. > > > > Erik > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > This transmission (and any information attached to it) may be > confidential and > is intended solely for the use of the individual or entity to which > it is > addressed. If you are not the intended recipient or the person > responsible for > delivering the transmission to the intended recipient, be advised > that you > have received this transmission in error and that any use, > dissemination, > forwarding, printing, or copying of this information is strictly > prohibited. > If you have received this transmission in error, please immediately > notify > LabOne at the following email address: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]