Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 72459 invoked from network); 25 Aug 2009 19:18:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 19:18:45 -0000 Received: (qmail 64108 invoked by uid 500); 25 Aug 2009 19:19:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 64043 invoked by uid 500); 25 Aug 2009 19:19:09 -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 64032 invoked by uid 99); 25 Aug 2009 19:19:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:19:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:18:59 +0000 Received: by an-out-0708.google.com with SMTP id b2so1199148ana.5 for ; Tue, 25 Aug 2009 12:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=tIO16broil4nxH3tPUfCH0FnTd80NkplGdJ7+qL21F8=; b=OqCNj8wQeSanQO1lri33vmf7hK6oBuMsI6kYGkVAfBNZRbWCa3jBJEeTL/a1AGY+Fk OTB5mUTpKx7vkSrOUYLyEdQEAt6qcVVlEVa2CDuSKbuukAWw8Mr+llnFeZR5W/yPSpmd 2mKqvdhf80hcrL2mI5U6eTsRYJyHsxDQuggJM= 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:content-transfer-encoding; b=krhN65tl49XoYSvC+A6uwuw9nqQSUQS+Kz36H45dxroIif7Qlt9WLdd9VVtI7R3qaR 3HgPF6WLTMY96TNTQ/yCBcJLENo1ChfFDWp5d97IAIExmUbTCL9ODhwo91blAVRlWR3J dQpT+Ty+zI7+Rd/eovti7wDQpSi9SEShTkTYc= MIME-Version: 1.0 Received: by 10.101.10.5 with SMTP id n5mr3342010ani.122.1251227918688; Tue, 25 Aug 2009 12:18:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2009 15:18:38 -0400 Message-ID: Subject: Re: Map-reduce view without the reduce? From: Paul Davis To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hadley, ?reduce=3Dfalse HTH, Paul Davis On Tue, Aug 25, 2009 at 3:15 PM, Hadley Wickham wrote: > Hi all, > > Is it possible to query a map-reduce view and return un-reduced > documents? =A0The 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). =A0Creating 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/ >