You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/03/21 16:16:32 UTC

[jira] Created: (JCR-807) UUIDDocId should check IndexReader using equals()

UUIDDocId should check IndexReader using equals()
-------------------------------------------------

                 Key: JCR-807
                 URL: https://issues.apache.org/jira/browse/JCR-807
             Project: Jackrabbit
          Issue Type: Improvement
          Components: query
            Reporter: Marcel Reutegger
            Priority: Minor
             Fix For: 1.3


The method UUIDDocId.getDocumentNumber(IndexReader) tests the passed index reader using its object identity.

This is a left over when there was one index per workspace and no system index. When the system index was introduced each query execution will create a new CombinedIndexReader covering the workspace index and the system index. The method should now use the equals() method to test the passed IndexReader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-807) UUIDDocId should check IndexReader using equals()

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-807.
----------------------------------

    Resolution: Fixed

Fixed in revision: 520911

> UUIDDocId should check IndexReader using equals()
> -------------------------------------------------
>
>                 Key: JCR-807
>                 URL: https://issues.apache.org/jira/browse/JCR-807
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.3
>
>
> The method UUIDDocId.getDocumentNumber(IndexReader) tests the passed index reader using its object identity.
> This is a left over when there was one index per workspace and no system index. When the system index was introduced each query execution will create a new CombinedIndexReader covering the workspace index and the system index. The method should now use the equals() method to test the passed IndexReader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.