Improve Performance of DescendantSelfAxisQuery
----------------------------------------------

                 Key: JCR-992
                 URL: https://issues.apache.org/jira/browse/JCR-992
             Project: Jackrabbit
          Issue Type: Improvement
          Components: query
    Affects Versions: 1.3
            Reporter: Christoph Kiehl
            Priority: Minor


In DescendantSelfAxisQuery.DescendantSelfAxisScorer.isValid(int) contextHits is 
populated with docs that are found on the way down the axis. The current 
algorithm unfortunately doesn't add any new docs at all because it only adds 
docs already present in contextHits. This leads to more calls to 
HierarchyResolver.getParent(int) than necessary.

-- 
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