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


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