couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: use view functions to emit changes
Date Tue, 30 Nov 2010 13:30:43 GMT
On Tue, Nov 30, 2010 at 1:16 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
> That's what we discussed the other day on irc. It doesn't do more than

Not everyone is always on IRC, and when there not always paying
attention to every conversation there :)


> "use map view function to filter changes  instead of duplicating the
> effort in writing a filter function that does the same, which is
> apparently done a lot. So each time a value could be emitted, a change
> is returned. The url is :
>
> http://127.0.0.1:5984/testdb/_changes?filter=_view&view=dname/viewname
>
> On other advantage is that I can also use this in an external indexer.
>
> - benoît.
>



-- 
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Mime
View raw message