lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Patterson <>
Subject Re: Exit a search when have enough results
Date Fri, 26 Oct 2007 21:20:25 GMT

Yonik Seeley wrote:
> The easiest way would be to throw an exception from a custom hit
> collector (and then catch it yourself and continue).

Cheers, I wonder if the performance penalty from throwing an exception is
worth it?
View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message