Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 45429 invoked from network); 15 Mar 2011 16:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Mar 2011 16:05:51 -0000 Received: (qmail 6014 invoked by uid 500); 15 Mar 2011 16:05:51 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 5982 invoked by uid 500); 15 Mar 2011 16:05:51 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 5975 invoked by uid 99); 15 Mar 2011 16:05:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 16:05:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 16:05:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 881693AA382 for ; Tue, 15 Mar 2011 16:05:29 +0000 (UTC) Date: Tue, 15 Mar 2011 16:05:29 +0000 (UTC) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <250690576.3933.1300205129538.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <909937850.3929.1300205009554.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (JCR-2918) Avoid unnecessary index reader calls when using aggregate definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 removedIds, Map 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