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 (Commented) (JIRA)" <ji...@apache.org> on 2011/12/10 13:01:40 UTC

[jira] [Commented] (LUCENE-3632) Fully support doOpenIfChanged(boolean readOnly)/clone(boolean readOnly) in MultiReader and ParallelReader

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

Uwe Schindler commented on LUCENE-3632:
---------------------------------------

Further investigation showed, that this cannot work (because refCounting is not allowing this).

I will close this as won't fix. I am so glad that 4.0 removed R/W support from IndexReader. This is messy.
                
> Fully support doOpenIfChanged(boolean readOnly)/clone(boolean readOnly) in MultiReader and ParallelReader
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3632
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3632
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 3.5
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 3.6
>
>
> Followup from LUCENE-3630:
> doOpenIfChanged is behaving incorrectly if you pass a boolean to openIfChanged/clone. A partial fix is in LUCENE-3630, but it's not complete.
> This issue fully supports doOpenIfChanged/clone by conditionally passing the boolean down to the subreaders.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org