lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Patterson <jdp2...@gmail.com>
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: 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message