You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nathan Vander Wilt (JIRA)" <ji...@apache.org> on 2013/10/15 18:06:41 UTC

[jira] [Created] (COUCHDB-1908) Allow replication using filter=_view&view=ddoc/view

Nathan Vander Wilt created COUCHDB-1908:
-------------------------------------------

             Summary: Allow replication using filter=_view&view=ddoc/view
                 Key: COUCHDB-1908
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1908
             Project: CouchDB
          Issue Type: Improvement
          Components: Replication
            Reporter: Nathan Vander Wilt


The _changes feed allows "view filters" (http://docs.couchdb.org/en/latest/ddocs.html#view-filters) which pass all documents that are emitted by a particular map function. However when starting a replication these same parameters do not seem to be supported:

    {
       "_id": "migrate",
       "source": "db1",
       "target": "db2",
       "filter": "_view",
       "view": "tmp/migrate"
    }

Results in an error state with the following message in _log (with CouchDB 1.3.0 anyway):

    Replication manager, error processing document `migrate_staff`: Invalid filter. Must match `ddocname/filtername`.



--
This message was sent by Atlassian JIRA
(v6.1#6144)