Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 79690 invoked from network); 2 Oct 2008 20:42:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2008 20:42:35 -0000 Received: (qmail 85799 invoked by uid 500); 2 Oct 2008 20:42:33 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 85474 invoked by uid 500); 2 Oct 2008 20:42:32 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 85463 invoked by uid 99); 2 Oct 2008 20:42:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 13:42:32 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [17.254.13.22] (HELO mail-out3.apple.com) (17.254.13.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 20:41:28 +0000 Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id 078463E0E7C6; Thu, 2 Oct 2008 13:41:32 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id DB86528082; Thu, 2 Oct 2008 13:41:31 -0700 (PDT) X-AuditID: 11807130-ab9afbb000000ea6-d9-48e531fb1291 Received: from bu0401b-dhcp03.apple.com (bu0401b-dhcp03.apple.com [17.215.43.121]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id CC5AD28080; Thu, 2 Oct 2008 13:41:31 -0700 (PDT) Message-Id: <96912169-5FDE-4798-862A-5F7E15142BEE@pixelcort.com> From: Cortland Klein To: couchdb-user@incubator.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Reduce Functions - Combine Mime-Version: 1.0 (Apple Message framework v928.1) Date: Thu, 2 Oct 2008 13:41:31 -0700 X-Mailer: Apple Mail (2.928.1) X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Hi. I'm having a hard time understanding the combine variable passed into the reduce function. reduce is a boolean, right? What does it imply? What is in keys? What is in values? On http://wiki.apache.org/couchdb/Views it just says reduce functions should only return a scalar value. Scalar means positive number, right? When using the group_level= in a query, how does group_level affect the reduce function? -- Cortland Klein +1 408 506 9791 http://pixelcort.com/ 2260 California Street #13 Mountain View, CA, USA 94040