You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/06/12 16:17:03 UTC

[jira] [Commented] (LUCENE-6559) TimeLimitingCollector should check timeout also when LeafCollector is pulled

    [ https://issues.apache.org/jira/browse/LUCENE-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583448#comment-14583448 ] 

Michael McCandless commented on LUCENE-6559:
--------------------------------------------

+1

But I think you don't need to call {{myHc.setSlowDown(SLOW_DOWN);}} since no hits are actually collected...

> TimeLimitingCollector should check timeout also when LeafCollector is pulled
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-6559
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6559
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.2
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 5.2.1, 5.3, Trunk
>
>         Attachments: LUCENE-6559.patch
>
>
> TimeLimitingCollector only check the timeout if there is actually a hit. If you never hit anything but have a damn slow query for whatever reason the timeout is never hit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org