Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 025E7E5D5 for ; Fri, 22 Feb 2013 04:14:10 +0000 (UTC) Received: (qmail 79087 invoked by uid 500); 22 Feb 2013 04:14:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78729 invoked by uid 500); 22 Feb 2013 04:14:04 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 78682 invoked by uid 99); 22 Feb 2013 04:14:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 04:14:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.heuberger@binarykitchen.com designates 103.6.212.124 as permitted sender) Received: from [103.6.212.124] (HELO binarykitchen.com) (103.6.212.124) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 04:13:56 +0000 Received: from localhost (localhost [127.0.0.1]) by binarykitchen.com (Postfix) with ESMTP id 5CA562215D for ; Fri, 22 Feb 2013 17:13:35 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at binarykitchen.com Received: from binarykitchen.com ([127.0.0.1]) by localhost (binarykitchen.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qSAbRI6oZopN for ; Fri, 22 Feb 2013 17:13:01 +1300 (NZDT) Received: from [192.168.0.5] (ip-58-28-152-233.static-xdsl.xnet.co.nz [58.28.152.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: michael.heuberger) by binarykitchen.com (Postfix) with ESMTPSA id 71E1122154 for ; Fri, 22 Feb 2013 17:13:01 +1300 (NZDT) Message-ID: <5126F04D.8010305@binarykitchen.com> Date: Fri, 22 Feb 2013 17:13:01 +1300 From: Michael Heuberger Organization: Binary Kitchen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Tree like structures in CouchDB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello guys I'd like to store messages in a tree like structure. Whenever you reply to a message, then the original message becomes the parent message. How would you implement something like this in CouchDB? Just curious and need a little guidance + advice here. Thanks, Michael -- Binary Kitchen Michael Heuberger 4c Dunbar Road Mt Eden Auckland 1024 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael@binarykitchen.com Website .............. http://www.binarykitchen.com