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.

Reply via email to