lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: Why does BooleanQuery$TooManyClauses extend RuntimeException?
Date Wed, 26 Nov 2003 16:44:38 GMT
Erik Hatcher wrote:
> I concur and have just modified QueryParser to throw a ParseException 
> instead when a TooManyClauses exception is thrown.

When using a prefix or wildcard query (where this is most likely to 
occur) I don't think TooManyClauses is thrown under the parser, but 
rather when searching, as the query isn't rewritten until it's executed.

Doug


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


Mime
View raw message