lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "santosh" <santosh.pa...@siti.com>
Subject Can any one help
Date Thu, 22 Sep 2005 05:55:22 GMT
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


Mime
View raw message