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

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

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
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler


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


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

Posted by "Uwe Schindler (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved LUCENE-3632.
-----------------------------------

    Resolution: Won't Fix
    
> 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


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

Posted by "Uwe Schindler (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-3632:
----------------------------------

    Attachment:     (was: LUCENE-3632.patch)
    
> 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


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

Posted by "Uwe Schindler (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-3632:
----------------------------------

    Comment: was deleted

(was: Patch including test updates.)
    
> 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


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

Posted by "Uwe Schindler (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-3632:
----------------------------------

          Component/s: core/index
    Affects Version/s: 3.5
        Fix Version/s: 3.6
    
> 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
>
>         Attachments: LUCENE-3632.patch
>
>
> 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


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

Posted by "Uwe Schindler (Commented) (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Uwe Schindler (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-3632:
----------------------------------

    Attachment: LUCENE-3632.patch

Patch including test updates.
                
> 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
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-3632.patch
>
>
> 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