Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 67383 invoked from network); 18 Dec 2008 16:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 16:42:00 -0000 Received: (qmail 40290 invoked by uid 500); 18 Dec 2008 16:42:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 40259 invoked by uid 500); 18 Dec 2008 16:42:10 -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 40248 invoked by uid 99); 18 Dec 2008 16:42:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 08:42:10 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of devnullian@gmail.com designates 209.85.198.227 as permitted sender) Received: from [209.85.198.227] (HELO rv-out-0506.google.com) (209.85.198.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 16:41:50 +0000 Received: by rv-out-0506.google.com with SMTP id f9so1920254rvb.4 for ; Thu, 18 Dec 2008 08:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=7K1ZFyBx/RbIzsSrY8GZvT+SRgueEsgRhIzxd5yxJAo=; b=qg/3LHIY8QzZedMkHb0HGdNM6wapopNXHz35fMxzNe+EoNePWaM/aQsrlQ0xDYm42B 7tVUE1+Rz+IHxD3fWthSHDKH6GeOYhJXbuiHaEsJsRBV7xBzFihN4pJJ3GOvxfWCjIu7 jEL0ZYdUrKeLw1ujw5mnuPRTLJf0Dqch6Eenc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jDRkDtU/3OYxqKprA23tcnzyXRL4ne81H7EbN9mzqlJrpjjpnHElUu6+xUp8tzc4uR 3wtxdWc3oCz/llEvCbAKIGgXYEjVA4Sac0GGEZQu8HYprQYabBpKIo6e+3qMJswlm1sS CfGt76Ai4Bv6EO11qO0h5E9EPzzN6ScfUaLRA= Received: by 10.141.142.15 with SMTP id u15mr1070999rvn.112.1229618488784; Thu, 18 Dec 2008 08:41:28 -0800 (PST) Received: by 10.140.200.1 with HTTP; Thu, 18 Dec 2008 08:41:28 -0800 (PST) Message-ID: <9f01072b0812180841v53076958o5357796c8208ede7@mail.gmail.com> Date: Thu, 18 Dec 2008 09:41:28 -0700 From: "Daniel DeLeo" To: user@couchdb.apache.org Subject: Adding attributes to a document in the view? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17087_27665004.1229618488773" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17087_27665004.1229618488773 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is it possible in the newer versions to add attributes to a document object in the view? For example, on 0.8.0, if your view map function is: function(doc) { doc.computed_attribute = 'hello, world'; emit(doc._id, doc); }; The view gives a 50X error, and a stack trace in futon. Is it possible to do this in any version of Couch? Thanks, Dan DeLeo ------=_Part_17087_27665004.1229618488773--