[ https://issues.apache.org/jira/browse/LUCENE-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711086#action_12711086 ]
Michael McCandless commented on LUCENE-1645: -------------------------------------------- bq. Lazy clone() is a bad idea, since it has to be synced. Right; I think we should simply clone shared subreaders on reopen. bq. Or make readers immutable I think it's too soon to do this. In theory, NRT should enable us to deprecate deletions from IW, but 1) we need NRT released and some real experience before doing so, and 2) we still need to get setNorm working from IW. bq. By the way, do we need public IR cloneability? I think we do? Eg it enables you to clone a readOnly reader to a read/write one in order to do deletes/setNorm. > Deleted documents are visible across reopened MSRs > -------------------------------------------------- > > Key: LUCENE-1645 > URL: https://issues.apache.org/jira/browse/LUCENE-1645 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.9 > Reporter: Earwin Burrfoot > Fix For: 2.9 > > Attachments: LUCENE-1645.patch > > -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org