Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2907

add _view_changes API on the clustered interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0.0
    • None
    • Database Core
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wilhol Will Holley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: