You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2010/07/18 23:57:50 UTC

[jira] Updated: (LUCENE-2549) TimeLimitingCollector's TimeExceededException contains useless relative docid

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

Uwe Schindler updated LUCENE-2549:
----------------------------------

    Attachment: LUCENE-2549.patch

> 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, 3.1, 4.0
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org