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

[jira] [Updated] (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:all-tabpanel ]

Simon Willnauer updated LUCENE-6559:
------------------------------------
    Attachment: LUCENE-6559.patch

here is a simple fix and a test

> 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