You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Mike Rhodes <co...@dx13.co.uk> on 2019/05/09 13:12:54 UTC

Re: [DISCUSS] Map Indexes

On Tue, 16 Apr 2019, at 13:12, Garren Smith wrote:
> > 2. Regarding emitting doc as the value in a view function, this is so
> > common that I wonder if it's worth handling as a special case. It sounds
> > like there wouldn't be a solution for customers who use this technique to
> > ensure they can retrieve the version of the document that is consistent
> > with the emitted key?
> >
> 
> Awesome idea, a special case does make sense. As Adam mentions we need to
> do some performance testing to determine the best solution here.

Here, do we really mean to special case "the exact document" or the more general "a document-like structure" (i.e., any JSON object)? It feels a bit mean if you can either emit up to 100KB _or_ you must emit entire document.

Mike.