lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: abort a search
Date Tue, 30 Sep 2003 12:34:31 GMT
Philippe,

I had to approve your message to the list as you are not subscribed (at 
least not with this address), so I'm copying you on this reply.

Using a HitCollector and doing your own timeout logic is one way to do 
this, or to spin the search into a separate thread that can be killed 
after a timeout period is another.

	Erik


On Tuesday, September 30, 2003, at 03:12  AM, paladin3@club-internet.fr 
wrote:
> Do you know a way with lucene to abort a search (with a timeout or 
> after collecting n results for exemple) ?
>
> Thanks for your advice
> Philippe Cossard
>
>
> ---------------------------------------------------------------------
> 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