lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2549) TimeLimitingCollector's TimeExceededException contains useless relative docid
Date Fri, 29 Oct 2010 21:58:19 GMT

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

Uwe Schindler resolved LUCENE-2549.
-----------------------------------

    Resolution: Fixed

Committed 3.0 branch revision: 1028920
Committed 2.9 branch revision: 1028922

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


Mime
View raw message