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
|