You could do it asynchronously. That is, separate off the actually
lucene search into a different thread which does the actual search, then
the calling thread simply waits for a maximum time for the search thread
to complete, then queries the status of the search thread to get the
results obtained
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