From user-return-13662-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Nov 11 22:21:30 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 62781 invoked from network); 11 Nov 2010 22:21:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 22:21:30 -0000 Received: (qmail 26174 invoked by uid 500); 11 Nov 2010 22:22:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26142 invoked by uid 500); 11 Nov 2010 22:22:00 -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 26134 invoked by uid 99); 11 Nov 2010 22:22:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 22:22:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mikebannister@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 22:21:49 +0000 Received: by vws3 with SMTP id 3so81440vws.11 for ; Thu, 11 Nov 2010 14:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=YQ3gdsS6ijEb1BTD2ujsOgKnFgIy783tSszrkHqOuHU=; b=U9v+GYAugiN77Ie292GL7yx3FUphNI+17UW6jVjyHilp2lMFh5dcP1t5kQw7AOV/r9 xmF/+Qu+uVMu4ic8sPpXbhECW0IvzOgOvOp+Cqn9IzJQ7N36ow+KEs2u678ygQliBL2G sYpJ3p+XSNw3F5FCZKRP7cFxrE+HFhCVIut4Y= 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; b=xsy1YUru6QF5gAz3fEupQ1Ig6TkF+9bh2A/offP0/jcEErC8IiiyKI1o/ilewtIsrn 18fhM2EZQybBITOjEqw72JcEHrF1Smrdu+zMGhbkdvO8EdTWg90f/rdaROx/n68umW1a KDOcfEBE0gGmWCrl8RM/GIAQ7s+GIeTbtZL8E= MIME-Version: 1.0 Received: by 10.229.88.15 with SMTP id y15mr1239315qcl.39.1289514088830; Thu, 11 Nov 2010 14:21:28 -0800 (PST) Received: by 10.229.85.4 with HTTP; Thu, 11 Nov 2010 14:21:28 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Nov 2010 17:21:28 -0500 Message-ID: Subject: Re: First doc in a group? From: Mike Bannister To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636426fdb329b730494ce6544 X-Virus-Checked: Checked by ClamAV on apache.org --001636426fdb329b730494ce6544 Content-Type: text/plain; charset=ISO-8859-1 Cory, cool thanks. Wasn't able to decide on my own if reducing was OK for this kind of thing. Robert, but I need one document for each user, wouldn't that be a summary of sorts? -Mike On Nov 11, 2010 4:46 PM, "Cory Zue" wrote: You could emit the users as keys, and in your reduce function just return the latest by date. On Thu, Nov 11, 2010 at 4:35 PM, Mike Bannister wrote: > Yeah, I'm trying... --001636426fdb329b730494ce6544--