lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "santosh" <santosh.pa...@siti.com>
Subject Re: Can any one help
Date Thu, 22 Sep 2005 13:20:44 GMT
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" <erik@ehatchersolutions.com>
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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message