lucene-dev mailing list archives

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

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.


On Tuesday, September 30, 2003, at 03:12  AM, 
> 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:
> For additional commands, e-mail:

View raw message