From couchdb-user-return-2037-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Fri Nov 28 14:48:18 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 81977 invoked from network); 28 Nov 2008 14:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2008 14:48:17 -0000 Received: (qmail 24214 invoked by uid 500); 28 Nov 2008 14:48:25 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 24167 invoked by uid 500); 28 Nov 2008 14:48:25 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 24150 invoked by uid 99); 28 Nov 2008 14:48:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 06:48:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.22.68.8] (HELO assmule.apisnetworks.com) (64.22.68.8) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 14:46:57 +0000 Received: from [192.168.0.11] (206-248-172-247.dsl.teksavvy.com [206.248.172.247]) by assmule.apisnetworks.com (Postfix) with ESMTPSA id 49F1F27467A for ; Fri, 28 Nov 2008 09:47:12 -0500 (EST) Message-ID: <49300462.10903@silencegreys.com> Date: Fri, 28 Nov 2008 09:46:58 -0500 From: Jedediah Smith User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: couchdb-user@incubator.apache.org Subject: Re: threaded email view References: <492A505E.5050104@silencegreys.com> <78ea81000811270416h3804f94fyb35a227c57fbc78a@mail.gmail.com> <492EA96F.3080603@gmail.com> <492F4A16.1090308@silencegreys.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org There is also the question of how to sort by thread and also sort the threads by date. I'm having trouble with that. The only thing I can think of is to add the date of the thread root message to all thread members. Chris Anderson wrote: > On Fri, Nov 28, 2008 at 2:58 AM, Chris Anderson wrote: >> I don't think there is an easy way to traverse a linked list of >> couchdb documents. Tell me if you think of a way. >> > > Unless of course you include the root doc id in all list member docs. > Then you can get a whole thread in a single view query. >