From dev-return-31715-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Jul 5 10:17:52 2011 Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D62C49DF for ; Tue, 5 Jul 2011 10:17:52 +0000 (UTC) Received: (qmail 40771 invoked by uid 500); 5 Jul 2011 10:17:52 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 40323 invoked by uid 500); 5 Jul 2011 10:17:44 -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 40302 invoked by uid 99); 5 Jul 2011 10:17:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 10:17:41 +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, 05 Jul 2011 10:17:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D7A7843647 for ; Tue, 5 Jul 2011 10:17:16 +0000 (UTC) Date: Tue, 5 Jul 2011 10:17:16 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1006500528.169.1309861036879.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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-2918: --------------------------------- Resolution: Fixed Fix Version/s: 2.3.0 2.2.8 Assignee: Alex Parvulescu Status: Resolved (was: Patch Available) Fixed on trunk in revision 1142919, and on 2.2 in revision 1142926 by the way, I used a wrong rev number in the comment for the 2.2 commit > 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 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