[ https://issues.apache.org/jira/browse/COUCHDB-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266487#comment-13266487 ]
Michael Reuss commented on COUCHDB-987: --------------------------------------- Thanks for this great feature that finally made it to me in 1.2 ;-) I was able to find the tests that explain the usage, but alas, it doesn't work for me as expected: I don't see document deletions any more in the changes feed. Is that on purpose? I suppose, I can't just emit a key in my view for deleted docs. Could we add deleted documents to the _view filter or do I miss something in the intended use? Thanks, Micha. > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira