Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE0EC9BFA for ; Wed, 9 May 2012 23:28:34 +0000 (UTC) Received: (qmail 38960 invoked by uid 500); 9 May 2012 23:28:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 38916 invoked by uid 500); 9 May 2012 23:28:33 -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 38908 invoked by uid 99); 9 May 2012 23:28:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 23:28:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,HTML_OBFUSCATE_05_10,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 23:28:24 +0000 Received: by vbzb23 with SMTP id b23so1236642vbz.11 for ; Wed, 09 May 2012 16:28:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=Cse60A9f9jMkbV1OI7pDxeNJZARKOUjlqziBzkqy5Kc=; b=lC7nfUq6w2p2ktPkI5Qmzyemv9JYllzehyD3zix7lowsLOBqxJenwAk5WbLxwNgd9s rIpwxFCyBaG0nGO0lrg0hhNkYl07Tb2TwIK0kfs2Z3sbpWOFeFzWEsaTAbG5aq+ZgOlk n67T5zrJApl3FixiJoh2cKNT7uLcsCReksHLMLttyk9Exhqu0YMo/xBJB+C3deXFJslM 5dOvOXPJZ1hrTpntc2IIXafpJ8g5fHxRD0rHDJv+PgpFZBAc2Y1firVFFyzmWqPqv/G0 dCD5QOnAOe2RHdc4jfdw1i3WtevqWlaMGx74bLf4FAfgCjPnCOOqEljIMMYLCCihGP3Q 5JAQ== Received: by 10.52.91.72 with SMTP id cc8mr1005699vdb.17.1336606083493; Wed, 09 May 2012 16:28:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.99.74 with HTTP; Wed, 9 May 2012 16:27:43 -0700 (PDT) X-Originating-IP: [68.5.117.177] In-Reply-To: References: <7caa2578e04507ec25f97df01e5d66ab.squirrel@secure61.inmotionhosting.com> <2ba5948b99a136aebad13e1cfcd8b525.squirrel@secure61.inmotionhosting.com> <7CC02CFB-C515-478C-813C-274859EE5D4B@couchbase.com> <3c42307e64dc9ecee1b595858e3b81fe.squirrel@secure61.inmotionhosting.com> <4006200a16886ccfe162228b261f95b5.squirrel@secure61.inmotionhosting.com> <14a5bbcb-c4bc-4954-a401-03ac28820456@email.android.com> From: Mark Hahn Date: Wed, 9 May 2012 16:27:43 -0700 Message-ID: Subject: Re: include_docs with _all_docs To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf307ca4bacfb10604bfa2da4c X-Gm-Message-State: ALoCoQlZ3dy3mkXrh7C9xvxOV7tv3Sibd2VtaNg7to/vb2Hyj+s0CJY7C9FzP8fqsHmcnR3vkoYN --20cf307ca4bacfb10604bfa2da4c Content-Type: text/plain; charset=ISO-8859-1 > or point me to instructions of how to do that I would create a hash (of the kind of rows you want) in the map/reduce and just keep bumping the count in each reduce. You have all the fields in the doc handed to the map (view) so you can create the row type from examining the fields of each doc. You might want to put this in it's own `design` and only put that design in when you want to "run" the report. --20cf307ca4bacfb10604bfa2da4c--