couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "Replication" by anaran
Date Fri, 13 Feb 2015 19:53:16 GMT
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:

Mime
View raw message