couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ning Tan <>
Subject Re: sort by key
Date Tue, 22 Sep 2009 16:29:32 GMT
On Tue, Sep 22, 2009 at 11:43 AM, Elf <> wrote:
> Do not use emit(something, doc), prefer to use include_docs=true (so,
> emit(something, something_less_than_large_document) when requesting a
> view.

Can you elaborate on this? What if I have a mostly read database (i.e.
I don't care too much about view update time and space limitation,
etc) and want to get to the data very quickly? Having to use
include_docs means internally I need to query a second b-tree to get
the data, right?

View raw message