[
https://issues.apache.org/jira/browse/JCR-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger resolved JCR-992.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4
Thanks a lot for the patch. Looks good. I only renamed the list from parentDocs
to ancestorDocs before I committed the patch.
svn revision: 551890
> 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
> Fix For: 1.4
>
> Attachments: DescendantSelfAxisQuery.patch
>
>
> 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.