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

Earwin Burrfoot commented on LUCENE-1645:
-----------------------------------------

Either that. Or having boolean readerShared[] as a property of MSR, and check 
it on each modification attempt -> lazy clone().

*rant on*
Or make readers immutable :) I already have a patch that removes norm updates, 
lazy loading and synchronization. Then we only need to do deletes in 
IndexWriter without resorting to its reader pool.
By the way, do we need public IR cloneability? Not for Lucene internals, but 
for actual users? That really looks like one more feature that can be safely 
removed.

> 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

Reply via email to