lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Searching with "1"
Date Tue, 03 Oct 2006 00:16:24 GMT

: It turns out that I was going over TooManyClauses, and this decided to give
: an exception.
: I am not really sure of the reasoning behind this exception?  It seems to us
: that it might be better to throw an exception.  This way the programmer can
: handle this accordingly and will force them to do so.

I'm not understanding your statement.  TooManyClauses is a runtime
exception that can and will be thrown when a query like PrefixQuery is
rewriten to a BooleanQuery -- which happens when a search is executed.

so if your problem is that your prefix query was generating too many
clauses -- that exception should have in fact been throws ... what do you
mean by "this decided to give an exception." if the exception wasn't


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message