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 17:41:58 GMT
Doug Cutting wrote:
> So my preference
> would be to leave it as a RuntimeException.

Another option would be to change the limit from 1000 to 
Integer.MAX_VALUE.  This would be more compatible, although we'd start 
getting complaints again from folks who run out of memory, or that 
things are really slow...

Sigh.  Maybe we should just go with an IOException.  That won't break 
existing applications, which already have to catch this.

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