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 13177499F for ; Fri, 17 Jun 2011 13:02:09 +0000 (UTC) Received: (qmail 43154 invoked by uid 500); 17 Jun 2011 13:02:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 43120 invoked by uid 500); 17 Jun 2011 13:02:08 -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 43113 invoked by uid 99); 17 Jun 2011 13:02:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 13:02:08 +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; Fri, 17 Jun 2011 13:02:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9BDAA41E15C for ; Fri, 17 Jun 2011 13:01:47 +0000 (UTC) Date: Fri, 17 Jun 2011 13:01:47 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <549027487.14912.1308315707634.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1351362214.6207.1308128087982.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-2989) Support for embedded index aggregates 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-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-2989: --------------------------------- Attachment: JCR-2989_v2.patch Attached a reworked patch. It includes a soft limit for recursive aggregates. After talking with others about this, I've decided to put the limit at 100, this should give us plenty of room to breathe. So for the same type nodes, it only goes 100 (same type) parents up, then it stops updating. The trick is that the limit is upward, because the way aggregation works. You start with a child node that has been updated, and go up it's hierarchy. The patch also includes the tiny optimisation I mentioned earlier, if it runs into a known parent, it will stop, as the entire hierarchy is already on the update list. > Support for embedded index aggregates > ------------------------------------- > > Key: JCR-2989 > URL: https://issues.apache.org/jira/browse/JCR-2989 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Reporter: Alex Parvulescu > Assignee: Alex Parvulescu > Priority: Minor > Attachments: JCR-2989.patch, JCR-2989_v2.patch > > > Index aggregates could contain other index aggregates. JR should be able to handle a complete hierarchy of aggregates. > I'm working on a patch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira