Hi Erik, Thanks for support
We are passing this String " booleanQuery.toString() = +contents:java* +contents:oracle* " to searcher and i also observed that internally it is creating queries which are adding to the BooleanQuery and Clause sixe is increasing. Any suggetsion -Santhosh ----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]> To: <java-dev@lucene.apache.org> Sent: Thursday, September 22, 2005 6:32 PM Subject: Re: Can any one help What is the offending .toString() of your query? You're building a big boolean query somehow - via wildcards? range? fuzzy? The queries you mention below would not cause that error. Also, please follow-up to java-user list, not java-dev. Erik On Sep 22, 2005, at 1:55 AM, santosh wrote: > Hi, > > > > Below is the problem I am facing when I am trying to get the index > file > from my production box to local. I got this Exception: > > org.apache.lucene.search.BooleanQuery$TooManyClauses > > at org.apache.lucene.search.BooleanQuery.add > (BooleanQuery.java:78) > > > > This index file contains nearly 30,000 documents. This exception is > triggered in few cases, when search words are eg : java , > eg .java oracle, > eg : java oracle sql > > > > This issue is not seen in my production box. For resolving the > issue in > local setup some modifications to code are done like, increasing > the clause > count, after this its working fine. > > > > Before getting Hits from the Boolean query I am checking the clause > count it > is not more than 20 Even I am not using the RangeQuery. > > > > My question is that am I going in the right direction or is there > any other > settings which I need to take care so that I will not face such > difficulty > as my production data keeps increasing to good volumes. > > > > Pls. Suggest … > > > > Thanks > > > > Santhosh Kumar Pabba > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]