[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org