[ 
https://issues.apache.org/jira/browse/LUCENE-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir reopened LUCENE-2549:
---------------------------------


reopening for possible 2.9.4/3.0.3 backport.


> TimeLimitingCollector's TimeExceededException contains useless relative docid
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-2549
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2549
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.9, 2.9.1, 2.9.2, 2.9.3, 3.0, 3.0.1, 3.0.2
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 2.9.4, 3.0.3, 3.1, 4.0
>
>         Attachments: LUCENE-2549.patch
>
>
> We found another bug with the RandomIndexWriter: When TimeLimitingCollector 
> breaks collection after timeout, it records the last/next collected docid. It 
> does this without rebasing, so the docid is useless. 
> TestTimeLimitingCollector checks the docid, but correctly rebases it (as only 
> this makes sense). Because the RandomIndexWriter uses different merge 
> settings, the index is now sometimes not optimized and so the test fails 
> (which is correct, as the docid is useless for non-optimized index).
> Attached is a patch that fixes this. Please tell me if I should backport to 
> 2.9 and 3.0!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to