jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2918) Avoid unnecessary index reader calls when using aggregate definitions
Date Tue, 15 Mar 2011 16:05:29 GMT

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

Marcel Reutegger updated JCR-2918:
----------------------------------

    Attachment: JCR-2918.patch

Proposed patch.

> Avoid unnecessary index reader calls when using aggregate definitions
> ---------------------------------------------------------------------
>
>                 Key: JCR-2918
>                 URL: https://issues.apache.org/jira/browse/JCR-2918
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2918.patch
>
>
> SearchIndex.retrieveAggregateRoot(Set<NodeId> removedIds, Map<NodeId, NodeState>
map) identifies aggregate root nodes based on removed nodes and aggregate rules defined in
the indexing configuration. This process requires index lookups. The method can be optimized
for the case when no nodes are removed and an unnecessary call to the index reader can be
avoided.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message