couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Tisdall <>
Subject Re: Adding vs replicating documents
Date Fri, 08 Jun 2012 13:50:52 GMT
I was going to suggest something like this too.  However, if you have
access to the script, you could alter it to record in a separate file
which documents have been altered and then write another script to
only send those docs to the couchdb server.  (This is essentially
duplicating what the couchdb replication would do, but without having
to have couchdb on your local machine)  A really simple way is to just
output the doc ids you've modified to a text file and then wipe that
file out after you've sent the updates to the server.

On Fri, Jun 8, 2012 at 2:10 AM, Matthieu Rakotojaona
<> wrote:
> I guess you can write some script that makes a diff between the old
> version and the new version, and returns the changed docs. You could
> then upload only those changed docs.
> --

View raw message