lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DMGoodst...@lbl.gov
Subject TooManyBooleanClauses exception
Date Mon, 08 Dec 2003 22:47:52 GMT
If I generate a query using QueryParser and a
standard analyzer, in some cases I'm getting a
TooManyBooleanClauses exception, e.g.:

[2003-12-08 14:39:23] [  debug1 ]  query is +glucose
-kog* always:1
[2003-12-08 14:39:23] [--ERROR--] Exception in
searchAnnotations:
org.apache.lucene.search.BooleanQuery$TooManyClauses
        at
org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:109)


 Is there a way to reset the maximum number of
boolean clauses for a non-boolean query, or to at
least access the boolean sub queries and modify them?

thx,
-_David Goodstein


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


Mime
View raw message