Hi,
I try to find a way to abort a running search.
I am aware of the TimeLimitingCollector, but in my case this will not help at
all. The problem is, that I have to cancel very complex and long running
searches, which might never find something. Because they do not find something,
the collect m
obtained to that point. You can then kill the search thread, or
let it run in the background.
-Original Message-
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Sent: Friday, 8 July 2005 12:06 AM
To: java-user@lucene.apache.org
Subject: Search Timeout - abort a search
Has anyone ever written code
On Thursday 07 July 2005 16:06, Dan Armbrust wrote:
> Has anyone ever written code to make it possible to return from a
> search, after a given amount of time, returning the results that have
> been collected so far (but not necessarily all of them)?
>
> The only thing that I can see to do throu
Has anyone ever written code to make it possible to return from a
search, after a given amount of time, returning the results that have
been collected so far (but not necessarily all of them)?
The only thing that I can see to do through the public Lucene API's
would be to do the search using a