couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RICHT, RYAN JERRY (AG/1005)" <ryan.jerry.ri...@monsanto.com>
Subject Re: Getting Inline Attachments with Bulk Docs
Date Sun, 22 Jan 2012 02:38:41 GMT
Dear All,

While it may still be a bug/undocumented todo, I found a gem on the wiki that does what I
need without solving that issue.

Thank you for such a great product!

Ryan Richt

http://wiki.apache.org/couchdb/Replication#Named_Document_Replication
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]}

This e-mail message may contain privileged and/or confidential information, and is intended
to be received only by persons entitled
to receive such information. If you have received this e-mail in error, please notify the
sender immediately. Please delete it and
all attachments from any servers, hard drives or any other media. Other use of this e-mail
by you is strictly prohibited.

All e-mails and attachments sent and received are subject to monitoring, reading and archival
by Monsanto, including its
subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence
of "Viruses" or other "Malware".
Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such
code transmitted by or accompanying
this e-mail or any attachment.


The information contained in this email may be subject to the export control laws and regulations
of the United States, potentially
including but not limited to the Export Administration Regulations (EAR) and sanctions regulations
issued by the U.S. Department of
Treasury, Office of Foreign Asset Controls (OFAC).  As a recipient of this information you
are obligated to comply with all
applicable U.S. export laws and regulations.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message