Re: too many clause exception when using a filter

2008-07-30 Thread Ganesh - yahoo
Hi, Try using PrefixQuery? Is it still throws exception? Regards Ganesh - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, July 30, 2008 1:00 PM Subject: too many clause exception when using a filter Hello, I've filled an index with 1100 text files with the names

Re: too many clause exception when using a filter

2008-07-30 Thread Zoeppi
Betreff: Re: too many clause exception when using a filter > Hi, > > Try using PrefixQuery? Is it still throws exception? > > Regards > Ganesh > > - Original Message - > From: <[EMAIL PROTECTED]> > To: > Sent: Wednesday, July 30, 2008 1:00 PM >

RE: too many clause exception when using a filter

2008-07-30 Thread Steven A Rowe
Hi René, Since you're constructing the filter from a WildcardQuery or a PrefixQuery, both of which use a BooleanQuery to hold a TermQuery for each matching index term, you'll need to increase the number of clauses a BooleanQuery is allowed to hold, by calling static method BooleanQuery.setMaxCl

RE: too many clause exception when using a filter

2008-07-31 Thread Chris Hostetter
: Or, to avoid the clause limit issue altogether, you could use a : PrefixFilter instead of a QueryWrapperFilter around a : {Wildcard,Prefix}Query: right ... the missconception here seems to be that if you use a Filter, all your Too Many Clauses problems are sovled -- but if that Filter is ju