couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Goodlad <>
Subject Re: include_docs vs emit("somekey", doc)
Date Thu, 11 Feb 2010 04:47:27 GMT
On Thu, Feb 11, 2010 at 3:27 PM, Sean Clark Hess <> wrote:
> If you emit a document as a value in a view, does it actually rewrite the
> document on the disk somewhere, or just point to it?

It writes it to the disk

> Is one faster than the other?

Emitting null as the value is generally faster, and you can still pull
the doc via the include_docs parameter.


View raw message