Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 50042 invoked from network); 6 Nov 2009 09:57:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 09:57:09 -0000 Received: (qmail 78685 invoked by uid 500); 6 Nov 2009 09:57:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78606 invoked by uid 500); 6 Nov 2009 09:57:08 -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 78596 invoked by uid 99); 6 Nov 2009 09:57:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 09:57:08 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mirsal.ennaime@gmail.com designates 209.85.218.218 as permitted sender) Received: from [209.85.218.218] (HELO mail-bw0-f218.google.com) (209.85.218.218) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 09:57:06 +0000 Received: by bwz10 with SMTP id 10so980812bwz.35 for ; Fri, 06 Nov 2009 01:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mLARhhKsx5nzHD517A/EN+RTdyC/uzaKYK87/edMCJA=; b=CfEobegJ4dzOj0zb0Xnw9yfQ3QycuQkAFea+pyqSbWl1mp6Guc6uLqJBjc2vMaM+l4 SRcFyxkwBdrb/+K3Sp7CsFEBSkoO6BhxkSPtoa7TwMKkvv37K17bgFK3iTmyCAOLpNk1 k55PtrZ/v7tPJ7mTQqd+MikQqianRxPWSj4gM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nrn3FfZ8m98U2GdfvTl/AdBZkpUcpnSaoEc+kK2cpWTa8bkxhLmi6bUVaTAY98eYJD LRMrpQpVtCI6S/DWRG8GeMYhxV3pEYhYKbz1x3krPTqwYTiQy6GuaZkkckSE5TRjzqKq A9lJP0TP2gyQifsuX57rHIX7ZQrOKhRYPJ61g= MIME-Version: 1.0 Received: by 10.204.154.203 with SMTP id p11mr4323729bkw.180.1257501404535; Fri, 06 Nov 2009 01:56:44 -0800 (PST) In-Reply-To: <7D96E944-C162-44C2-8ABC-F904EC0E24C3@devonweller.com> References: <7D96E944-C162-44C2-8ABC-F904EC0E24C3@devonweller.com> Date: Fri, 6 Nov 2009 10:56:44 +0100 Message-ID: Subject: Re: Aggregate Sum Example is Broken From: Mirsal Ennaime To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Nov 5, 2009 at 8:51 PM, Devon Weller wrot > > Hi. Hello > My question is this: > > Should this example work and couchdb is broken? =A0Or is the example bad? The example is bad imho. Do not output the document in your reduce function. If you need it, use include_docs=3Dtrue in your query -- Mirsal Ennaime