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] Update of "Replication" by RobertNewson
Date Fri, 24 Sep 2010 18:13:29 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 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:
  

Mime
View raw message