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

use view functions to emit changes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.2
    • None
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      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.

      Attachments

        1. view_changes.patch
          9 kB
          Benoit Chesneau

        Activity

          People

            benoitc Benoit Chesneau
            benoitc Benoit Chesneau
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: