Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 73199 invoked from network); 22 Mar 2007 09:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2007 09:35:59 -0000 Received: (qmail 45134 invoked by uid 500); 22 Mar 2007 09:36:06 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 45118 invoked by uid 500); 22 Mar 2007 09:36:06 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 45108 invoked by uid 99); 22 Mar 2007 09:36:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 02:36:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jukka.zitting@gmail.com designates 209.85.132.247 as permitted sender) Received: from [209.85.132.247] (HELO an-out-0708.google.com) (209.85.132.247) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 02:35:57 -0700 Received: by an-out-0708.google.com with SMTP id d18so793445and for ; Thu, 22 Mar 2007 02:35:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cjM7ECM6gQX6GNg5CC58zjTOcuuWDuPPXD1bJz+g5w8kLk43XMitoAM5TQC8L9EVktWotjm6o92SbdXSfUovA84jMcKT8/E1MCQm3Ptib/9BSVY1G27vwmTZdYb5Yx4dsIoRgttwMEkD10xMrTN0egS/5ME/1bsAtjoq8mgeLSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HKq1XwidQAM8U0qvl//IWzLvlBQHK/ANG+R1Tc+5DYRIfomh+9h7gmWEjMA4hJCfqnbRFjP4T2+prLgJCbyAL/wXBHAgoa4sQQmxqr24SGcrGq4llNFNo9PycJ1YFJQWqJnJrjgtrPpmG0KIM0NPq1zVTUlKaDvXlSC1vFbW3dU= Received: by 10.100.173.19 with SMTP id v19mr1297958ane.1174556136512; Thu, 22 Mar 2007 02:35:36 -0700 (PDT) Received: by 10.100.198.12 with HTTP; Thu, 22 Mar 2007 02:35:36 -0700 (PDT) Message-ID: <510143ac0703220235r11ae0db1n324e383f8c79ddd6@mail.gmail.com> Date: Thu, 22 Mar 2007 11:35:36 +0200 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: Node mapping question: when should I use subnode? In-Reply-To: <9604685.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9590761.post@talk.nabble.com> <7d3e1a010703210724j7fed0785ya99a0de3aebc2ab0@mail.gmail.com> <9604685.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 3/22/07, alartin wrote: > Many thanks to Brian. I am not sure about "I'd try to come > up with a way to group the my:questions nodes to avoid getting an overly > large set of children from a single my:qna node.". There may be ten thousand > or more question nodes under one qna node in future. What's the way to > group those nodes for better performance? What would be the primary way of presenting the information to a user? You wouldn't just want to put out a linear list of all those ten thousand questions. If you plan to categorize the questions, then that's a good candidate for also the internal content model. Alternatively, if you're targeting a more blog-like time-based sequence of published questions and answers, then a year/month structure would probably be good. Some approaches could also organize the entries by author or some other characteristic piece of information. BR, Jukka Zitting