Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0.0
-
None
-
None
Description
A non-clustered _view_changes API was added as part of COUCHDB-1990. As an example, using the design doc created in the test_fast_view.sh
script at https://gist.github.com/mikewallace1979/1f53f186e48bb888c256#file-test_fast_view-sh, I can run:
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}
It would be nice if this could be exposed in the clustered interface as well.