From dev-return-28906-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Aug 02 16:59:43 2010 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 31662 invoked from network); 2 Aug 2010 16:59:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 16:59:43 -0000 Received: (qmail 62250 invoked by uid 500); 2 Aug 2010 16:59:42 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 62155 invoked by uid 500); 2 Aug 2010 16:59:42 -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 62148 invoked by uid 99); 2 Aug 2010 16:59:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 16:59:41 +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; Mon, 02 Aug 2010 16:59:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o72GxHRr002461 for ; Mon, 2 Aug 2010 16:59:17 GMT Message-ID: <2851070.118681280768357740.JavaMail.jira@thor> Date: Mon, 2 Aug 2010 12:59:17 -0400 (EDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2688) Provide utility for handling large number of child nodes/properties In-Reply-To: <7794860.42441280311878109.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2688?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig resolved JCR-2688. -------------------------------- Fix Version/s: 2.2.0 Resolution: Fixed I committed the patch with minor modifications along with test cases in rev= ision 981597 > Provide utility for handling large number of child nodes/properties > ------------------------------------------------------------------- > > Key: JCR-2688 > URL: https://issues.apache.org/jira/browse/JCR-2688 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-jcr-commons > Affects Versions: 2.2.0 > Reporter: Michael D=C3=BCrig > Assignee: Michael D=C3=BCrig > Fix For: 2.2.0 > > Attachments: JCR-2688.patch > > > Jackrabbit does not cope well with 'flat' hierarchies. That is with hiera= rchies where a node has many child nodes and/or properties. The current rec= ommendation for such situations is to manually add intermediate nodes.=20 > It would be nice to have an utility which adds/removes intermediate nodes= as needed and expose a 'flat' view to users. Such an utility should: > - expose a large number of nodes/properties as sequence > - parametrize the order of how nodes/properties appear in the sequence > - provide methods to lookup/add/remove nodes/properties by key=20 > - organize the node/properties in the underlying JCR hierarchy in a way w= hich is both efficient for above operations and easily understandable to us= ers looking at the hierarchy.=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.