Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 74537 invoked from network); 22 Mar 2010 22:24:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Mar 2010 22:24:46 -0000 Received: (qmail 30974 invoked by uid 500); 22 Mar 2010 22:24:44 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30938 invoked by uid 500); 22 Mar 2010 22:24:44 -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 30927 invoked by uid 99); 22 Mar 2010 22:24:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 22:24:44 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [72.14.220.157] (HELO fg-out-1718.google.com) (72.14.220.157) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 22:24:36 +0000 Received: by fg-out-1718.google.com with SMTP id d23so801270fga.5 for ; Mon, 22 Mar 2010 15:24:14 -0700 (PDT) Received: by 10.87.65.40 with SMTP id s40mr8800171fgk.14.1269296653979; Mon, 22 Mar 2010 15:24:13 -0700 (PDT) Received: from [192.168.0.198] (c-24-22-107-181.hsd1.or.comcast.net [24.22.107.181]) by mx.google.com with ESMTPS id 12sm4646526fgg.9.2010.03.22.15.24.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Mar 2010 15:24:13 -0700 (PDT) From: Cesar Pinera Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Individual document size Date: Mon, 22 Mar 2010 15:24:09 -0700 Message-Id: To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Hi I'm trying to find a way to sum the size (disk space) used by documents = which meet certain conditions (e.g. a certain value for a given = attribute). So far I've though about a map function that will sort out = the documents I'm interested in, and then a reduce function that will = accumulate the size of those documents. Is there a way for the map/reduce pair to have access to the individual = document sizes?=20 Has anyone created a similar solution using a different alternative? -- Cesar=