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 2010/09/24 20:13:29 UTC

[Couchdb Wiki] Update of "Replication" by RobertNewson

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 RobertNewson.
http://wiki.apache.org/couchdb/Replication?action=diff&rev1=25&rev2=26

--------------------------------------------------

  {{{
  {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database", "filter":"myddoc/myfilter", "query_params": {"key":"value"}}
  }}}
+ === Named Document Replication ===
+ 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]}
+ }}}
  === Replicating through a proxy ===
  Pass a "proxy" argument in the replication data to have replication go through an HTTP proxy: