Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65378 invoked from network); 12 Oct 2010 15:32:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 15:32:13 -0000 Received: (qmail 71716 invoked by uid 500); 12 Oct 2010 15:32:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 71669 invoked by uid 500); 12 Oct 2010 15:32:12 -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 71662 invoked by uid 99); 12 Oct 2010 15:32:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 15:32:11 +0000 X-ASF-Spam-Status: No, hits=3.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 15:32:05 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P5gpM-0006Nj-1N for dev@jackrabbit.apache.org; Tue, 12 Oct 2010 08:31:44 -0700 Date: Tue, 12 Oct 2010 08:31:44 -0700 (PDT) From: "kazim_ssuet@yahoo.com" To: dev@jackrabbit.apache.org Message-ID: <1286897504037-2992127.post@n4.nabble.com> In-Reply-To: References: <1286833282951-2990730.post@n4.nabble.com> <1286894938597-2992057.post@n4.nabble.com> Subject: Re: Browse Jackrabbit repository using UUID MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I want to use UUID and not path, because, I think somewhere in memory whole path needs to be created if you fetch documents by path and fetching by UUID is supposed to be faster. I also read somewhere that performance starts degrading when there are alot of child nodes under a parent. In my application documents will be added pretty rapidly through automated procedures. I assume too many child nodes will not have an effect while fetching by UUID. I know there are suggestions to use dates in path to overcome the problem of too many child nodes gathering under one parent, but it might not be possible in my case. About the "References considered harmful" link that you suggested... I am not referencing the mix:referencable node from anywhere, I am just making it mix:referencable to assign it a UUID and it is a node of type JcrConstants.NT_FILE which is child of a node type JcrConstants.NT_FOLDER, while folder node is not referencing file node, so no referencial intigrity involved I guess. Just started looking at jackrabbit last week, pretty new to it, so i might be wgong about my assumption above. -- View this message in context: http://jackrabbit.510166.n4.nabble.com/Browse-Jackrabbit-repository-using-UUID-tp2990730p2992127.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.