lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earwin Burrfoot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1648) when you clone or reopen an IndexReader with pending changes, the new reader doesn't commit the changes
Date Thu, 21 May 2009 11:39:46 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711575#action_12711575
] 

Earwin Burrfoot commented on LUCENE-1648:
-----------------------------------------

Or to be more exact, it fixed the tests that were failing for me.
Your two new tests fail as soon as I apply "always use MSR", because MSR does not carry over
hasChanges/hasDeletions on clone().

> when you clone or reopen an IndexReader with pending changes, the new reader doesn't
commit the changes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1648
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1648
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1648.patch
>
>
> While working on LUCENE-1647, I came across this issue... we are failing to carry over
hasChanges, norms/deletionsDirty, etc, when cloning the new reader.

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


Mime
View raw message