[ 
https://issues.apache.org/jira/browse/JCR-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059830#comment-13059830
 ] 

Marcel Reutegger commented on JCR-2918:
---------------------------------------

I'd rather not include this in the 2.2 branch because it is a performance 
optimization and does not fix a bug.

> 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
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 2.2.8, 2.3.0
>
>         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

        

Reply via email to