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)

Reply via email to