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:
http://www.nabble.com/Exit-a-search-when-have-enough-results-tf4699633.html#a13435613
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]