Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 8231 invoked from network); 17 Jun 2010 11:53:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 11:53:54 -0000 Received: (qmail 65417 invoked by uid 500); 17 Jun 2010 11:53:54 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 65149 invoked by uid 500); 17 Jun 2010 11:53: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 65122 invoked by uid 99); 17 Jun 2010 11:53:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 11:53:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 11:53:48 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5HBrQ0K007941 for ; Thu, 17 Jun 2010 11:53:27 GMT Message-ID: <16074896.54271276775606883.JavaMail.jira@thor> Date: Thu, 17 Jun 2010 07:53:26 -0400 (EDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2660) Hierarchical map-reduce In-Reply-To: <17556423.54231276775363568.JavaMail.jira@thor> 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-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879754#action_12879754 ] Jukka Zitting commented on JCR-2660: ------------------------------------ As discussed with Norman Maurer from the Apache James project, one good use case for this would be to maintain per-nodetype counts of nodes in each subtree. In James they need this information to efficiently tell the number of message nodes within a potentially huge mailbox subtree. > Hierarchical map-reduce > ----------------------- > > Key: JCR-2660 > URL: https://issues.apache.org/jira/browse/JCR-2660 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-core > Reporter: Jukka Zitting > Fix For: 2.2.0 > > > As discussed on a few occasions earlier, it would be great to have a feature that allows efficient and automatic processing of information over entire subtrees of content. Such a feature could be used to maintain custom reports, search indexes, and other summary information for selected subtrees. > The map-reduce paradigm works great for such a purpose, as you can combine a per-node map operation with a reduce operation that combines the map results of the children of a given parent node. It's easy to generalize this model to cover entire subtrees. And if the reduced information is stored as a part of each parent node, it's even possible to incrementally update the results for an entire subtree when just a part of the subtree is modified. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.