incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kore Nordmann <m...@kore-nordmann.de>
Subject Re: View Filter
Date Fri, 15 May 2009 08:01:16 GMT
Jan Lehnardt wrote:
> Hi,
> 
[..]
> I wrote a patch* that introduces the concept of a view filter.
> A new design doc option acts as a document filter and
> prevents a doc from getting serialized and sent to the view
> server. This is useful to avoid unnecessary computation
> when using views that use the `if(doc.type == "foo") {…`
> pattern.
> 
[..]

Nice patch.

I would love to see that change in CouchDB, since some of my CouchDB 
based projects really could use that. I keep my views in different 
disign document for maintainability reasons and thus would benefit from 
it *a lot*. :)

Kind regards,
Kore

Mime
View raw message