lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Setting Performance Thresholds
Date Wed, 08 Feb 2006 01:07:02 GMT
This should be possible using a HitCollector with the  
IndexSearcher.search() method, and throwing an exception from the  
HitCollector when the time limit as expired.

	Erik


On Feb 7, 2006, at 5:55 PM, RONALD MANTAY wrote:

>     Hi ,
>
>   I am working on a search application using lucene where I would  
> like application to stop searching and return the hits colleted to  
> date and an appropriate exception, when reaching either a threshold of
>
>   a)   xx seconds of processing time.
>   or
>   b)   on finding xxx documents
>
>   Any help is appreciated.
>
>
>
>


---------------------------------------------------------------------
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