From user-return-8747-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Feb 11 04:48:26 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 90906 invoked from network); 11 Feb 2010 04:48:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 04:48:26 -0000 Received: (qmail 85187 invoked by uid 500); 11 Feb 2010 04:48:16 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85094 invoked by uid 500); 11 Feb 2010 04:48:16 -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 85083 invoked by uid 99); 11 Feb 2010 04:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 04:48:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of david@goodlad.ca) Received: from [209.85.222.179] (HELO mail-pz0-f179.google.com) (209.85.222.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 04:48:08 +0000 Received: by mail-pz0-f179.google.com with SMTP id 9so982196pzk.28 for ; Wed, 10 Feb 2010 20:47:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.86.19 with SMTP id o19mr842186wal.7.1265863667175; Wed, 10 Feb 2010 20:47:47 -0800 (PST) In-Reply-To: <21a5a18d1002102027u166d1e6fj532d98baec515638@mail.gmail.com> References: <21a5a18d1002102027u166d1e6fj532d98baec515638@mail.gmail.com> From: David Goodlad Date: Thu, 11 Feb 2010 15:47:27 +1100 Message-ID: <594289661002102047i2ab76330t727ff45cc72a2a0a@mail.gmail.com> Subject: Re: include_docs vs emit("somekey", doc) To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Feb 11, 2010 at 3:27 PM, Sean Clark Hess wrote: > If you emit a document as a value in a view, does it actually rewrite the > document on the disk somewhere, or just point to it? It writes it to the disk > Is one faster than the other? Emitting null as the value is generally faster, and you can still pull the doc via the include_docs parameter. Dave