From user-return-8330-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Jan 07 10:27:43 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 29695 invoked from network); 7 Jan 2010 10:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 10:27:43 -0000 Received: (qmail 73559 invoked by uid 500); 7 Jan 2010 10:27:41 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 73508 invoked by uid 500); 7 Jan 2010 10:27:41 -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 73498 invoked by uid 99); 7 Jan 2010 10:27:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:27:41 +0000 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: domain of b.candler@pobox.com designates 208.72.237.25 as permitted sender) Received: from [208.72.237.25] (HELO sasl.smtp.pobox.com) (208.72.237.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:27:31 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id C5C8A8EB23; Thu, 7 Jan 2010 05:27:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=VKVhs+zWE+M5EMjTOsMSYyDOAlo=; b=hQdBwU/ /oy2eLfSy57002t+yNtM5qQN05pMdOAR/uhW51p7yAgpIX815yrhBQppi9DLBxHM am6i3yHRvzeOzCfzsis9ZyQUVWWhyS8Z7xYxLSxdw6QoiZNXCU8WvvMKybHcWbuA 4clOxydwqIuf0xoP45BeOnuI3vJOikBt5eY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=k3Pa5MXOlvFm/sNrwFfuS+pxeIqry0isz Jkog1Dy0t9dXmHW/m19ljeCe7LjD4fdogK1jVaknflMplf70AgbFEFOMgsTTMONI RBdfThIaOFDhrjSWLFFpbh1do0Pzp3/gkfYY6yBNidvh2v6qyuQ1GmIS9lgmU5Bs W365yndleM= Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 843108EB22; Thu, 7 Jan 2010 05:27:07 -0500 (EST) Received: from zino (unknown [87.194.77.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 03DB88EB20; Thu, 7 Jan 2010 05:27:05 -0500 (EST) Received: from brian by zino with local (Exim 4.69) (envelope-from ) id 1NSpa4-0001ff-NM; Thu, 07 Jan 2010 10:27:04 +0000 Date: Thu, 7 Jan 2010 10:27:04 +0000 From: Brian Candler To: Joscha Feth , user@couchdb.apache.org Subject: Re: Modeling question Message-ID: <20100107102704.GA6390@uk.tiscali.com> Mail-Followup-To: Joscha Feth , user@couchdb.apache.org References: <20100107094533.GA5833@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100107094533.GA5833@uk.tiscali.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pobox-Relay-ID: 34E84338-FB77-11DE-A2E2-9D59EE7EF46B-28021239!a-pb-sasl-quonix.pobox.com On Thu, Jan 07, 2010 at 09:45:33AM +0000, Brian Candler wrote: > (*) There is a new feature in CouchDB, which I haven't tried, which allows a > view to emit different documents than the one being processed. I've tried it out and added some documentation here: http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views#Linked_documents It looks like it could be useful for you. As far as I can tell, it only affects include_docs=true. That is, you still cannot include data from a different document directly into the keys or values of a view row, but you can just cause a different document to be loaded when include_docs=true is used. Regards, Brian.