incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Ferguson <>
Subject RE: Map-reduce view without the reduce?
Date Tue, 25 Aug 2009 19:18:14 GMT
Hi Hadley, try adding the reduce=false option to your query string to skip the reduce step.
 You can also add include_docs=true to get the original documents.

Details at:

From: [] On Behalf Of Hadley Wickham []
Sent: Tuesday, August 25, 2009 12:15 PM
Subject: Map-reduce view without the reduce?

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.



View raw message