jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Kiehl (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-992) Improve Performance of DescendantSelfAxisQuery
Date Thu, 28 Jun 2007 16:16:26 GMT

     [ https://issues.apache.org/jira/browse/JCR-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Christoph Kiehl updated JCR-992:

    Attachment: DescendantSelfAxisQuery.patch

This patch adds logic to add all docs on the way down the axis to contextHits if the given
doc is a child of the context.

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

View raw message