incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pulkit Singhal <pulkitsing...@gmail.com>
Subject Re: Wildcard search on startkey and endkey
Date Wed, 19 Sep 2012 07:45:24 GMT
Hello Aurélien!


You can "emit([elem1, elem2, elem3, elem4, elem5], null)"
> and then get the view with "include_docs=true".
> You'll get a smaller index on disk and I suppose you will need less memory
> and CPU to handle it.
>

I thought it needed to at least emit the _id like so:
emit([elem1, elem2, elem3, elem4, elem5], {"_id":doc._id})

Or am I confusing the download of associative documents here?

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