couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Trainer <klaus.trai...@web.de>
Subject Re: [jira] Created: (COUCHDB-987) use view functions to emit changes
Date Tue, 14 Dec 2010 15:28:01 GMT
Though I haven't tested your view_changes branch, I'd just like to give
my +1 on this anyway. It's definitely a good feature, and the interface
(i.e., url query parameter syntax) looks straightforward.

Thanks Benoit!


On Tue, 2010-12-14 at 08:27 -0500, Benoit Chesneau (JIRA) wrote:
> use view functions to emit changes
> ----------------------------------
> 
>                  Key: COUCHDB-987
>                  URL: https://issues.apache.org/jira/browse/COUCHDB-987
>              Project: CouchDB
>           Issue Type: New Feature
>     Affects Versions: 1.2
>             Reporter: Benoit Chesneau
>             Assignee: Benoit Chesneau
>              Fix For: 1.2
>          Attachments: view_changes.patch
> 
> Add the ability to 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. 
> 
> 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.
> 
> Branch is available on my github repo : 
> 
> https://github.com/benoitc/couchdb/tree/view_changes
> 
> diff has been attached.
> 
> 



Mime
View raw message