You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2015/02/13 20:53:16 UTC

[Couchdb Wiki] Trivial Update of "Replication" by anaran

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication" page has been changed by anaran:
https://wiki.apache.org/couchdb/Replication?action=diff&rev1=58&rev2=59

Comment:
JSON typo fix

  Sometimes you only want to replicate some documents. For this simple case you do not need to write a filter function. Simply add the list of keys in the doc_ids field;
  
  {{{
- {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database", "doc_ids":["foo","bar","baz]}
+ {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database", "doc_ids":["foo","bar","baz"]}
  }}}
  === Replicating through a proxy ===
  Pass a "proxy" argument in the replication data to have replication go through an HTTP proxy: