couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Vander Wilt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1908) Allow replication using filter=_view&view=ddoc/view
Date Tue, 15 Oct 2013 16:06:41 GMT
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)

Mime
View raw message