You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Will Holley (JIRA)" <ji...@apache.org> on 2015/11/30 21:30:11 UTC

[jira] [Created] (COUCHDB-2907) add _view_changes API on the clustered interface

Will Holley created COUCHDB-2907:
------------------------------------

             Summary: add _view_changes API on the clustered interface
                 Key: COUCHDB-2907
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2907
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
            Reporter: Will Holley


A non-clustered _view_changes API was added as part of COUCHDB-1990. As an example, using the deisgn doc created in the test_fast_view.sh
script at https://gist.github.com/mikewallace1979/1f53f186e48bb888c256#file-test_fast_view-sh, I can run:

{code}
curl 'http://localhost:15986/test_db/_design/fastview/_view_changes/doge'
{"results":[
{"seq":1,"id":"doge","add":[["doge",1]],"remove":[],"changes":[{"rev":"1-ae32e864cb5a1bc682514fdda0d84a80"}]},
{"seq":2,"id":"doge2","add":[["doge2",1]],"remove":[],"changes":[{"rev":"1-ae32e864cb5a1bc682514fdda0d84a80"}]}
],
"last_seq":2}
{code}

It would be nice if this could be exposed in the clustered interface as well.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)