Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 71890 invoked from network); 25 Aug 2009 19:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 19:16:08 -0000 Received: (qmail 59465 invoked by uid 500); 25 Aug 2009 19:16:32 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 59397 invoked by uid 500); 25 Aug 2009 19:16:32 -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 59387 invoked by uid 99); 25 Aug 2009 19:16:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:16:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of h.wickham@gmail.com designates 209.85.219.208 as permitted sender) Received: from [209.85.219.208] (HELO mail-ew0-f208.google.com) (209.85.219.208) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:16:21 +0000 Received: by ewy4 with SMTP id 4so4149546ewy.3 for ; Tue, 25 Aug 2009 12:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gdAXOjjHEJ81o9nS6qG3ATXQYIgyTREF68I4psFxxTQ=; b=MRF00X6cFECI1PxiLyt5N4bt0jFPRvnqgmgJJnugrUWt0tmlSo4NmEK5ezpJ7jG5P1 CwAq6RqkXxo9DB9Ba+eKl5jMLZpn+UHCDfZppMRjE8xvXFkCohnAHCiySoeOwLdXMTfp j6Lk/xWJX9Fjwps0vg6OLMZVEMjutQi/ifaso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=VqnoVER6KqfaLtmTZsug2/eM/GhXyVMo/0yVL5X3R2UWJEZrARvd5kILqxBK/7LvV8 I54jM3DMW1TfuSJM3ktuyyQiRZJidpTMwShgxahIQdUM/uEmvzwGJpIbfDz3FpN+AkvN s2bQuq/vYd4GDxq2ocq21AcfjdYwmLaSgcvAg= MIME-Version: 1.0 Sender: h.wickham@gmail.com Received: by 10.210.18.15 with SMTP id 15mr6664253ebr.48.1251227758220; Tue, 25 Aug 2009 12:15:58 -0700 (PDT) Date: Tue, 25 Aug 2009 14:15:57 -0500 X-Google-Sender-Auth: fc87f7ad0466dd63 Message-ID: Subject: Map-reduce view without the reduce? From: Hadley Wickham To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Is it possible to query a map-reduce view and return un-reduced documents? The canonical use would be when you are creating a keyword index and you want to both count the number and retrieve all documents that use a keyword (but not at the same time). Creating two separate views would seem to unnecessarily double the work for the map component, since it's basically doing the same thing in each case. Hadley -- http://had.co.nz/