couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Rhodes" <couc...@dx13.co.uk>
Subject Re: [DISCUSS] Map Indexes
Date Thu, 09 May 2019 13:12:54 GMT

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.

Mime
View raw message