couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Wolff <awo...@gmail.com>
Subject Re: Map-reduce view without the reduce?
Date Tue, 25 Aug 2009 19:18:52 GMT
You can query the view with reduce=false

On Tue, Aug 25, 2009 at 12:15 PM, Hadley Wickham <hadley@rice.edu> wrote:

> 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/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message