lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Interrupting a query
Date Fri, 18 Jul 2008 10:51:31 GMT
True, but I think the approach is similar, in that you need to have  
the hit collector check to see if your interrupt flag has been set and  
then exit out.

-Grant

On Jul 16, 2008, at 9:54 AM, Paul J. Lucas wrote:

> That has nothing to do with interrupting a query at some arbitrary  
> time.
>
> - Paul
>
>
> On Jul 16, 2008, at 5:14 AM, Grant Ingersoll wrote:
>
>> See https://issues.apache.org/jira/browse/LUCENE-997
>>
>> -Grant
>>
>> On Jul 16, 2008, at 12:22 AM, Paul J. Lucas wrote:
>>
>>> If a complicated query is running in a Thread, how does Lucene  
>>> respond to Thread.interrupt()?  I want to be able to interrupt an  
>>> in-progress query.
>>>
>>> - Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>







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