Hi, Can't your program write to a local CouchDB instance instead of a file? Cheers Simon
On Friday, 8 June 2012 at 03:31, Luca Matteis wrote: > I use my own IDs which are stored in the JSON file. I can't use futon. > I'm stuck with this JSON file (which is generated programmatically > btw). I was just wondering if there was an easy way to use the > replication API and check if this JSON file has changes, and upload > only those, instead of re-uploading everything. > > On Fri, Jun 8, 2012 at 4:14 AM, Mark Hahn <[email protected] > (mailto:[email protected])> wrote: > > You can't update a document unless you have the id. Do you have a view set > > up to find what you want? If so pull them up and edit them in futon. > > > > Usually one would edit the docs in the db directly using futon, not change > > the original data. > > > > On Thu, Jun 7, 2012 at 6:35 PM, Luca Matteis <[email protected] > > (mailto:[email protected])> wrote: > > > > > I have a file that contains lots of JSON documents - probably around > > > 1gb of data. > > > I uploaded this file to my server's Couch instance (on the cloud) > > > using the Bulk API. > > > Now I need to re-upload it because I've made some changes to the file > > > - I've added some documents, deleted some, and edited a few. > > > > > > My question is, can I avoid sending over the wire the 1gb of data > > > every time I make modifications to it? > > > > > > I've thought about setting up a local Couch instance on my computer, > > > upload data there, and then replicate it to my Couch instance, so that > > > only changes get sent over the wire... but was wondering if there was > > > an easier way instead of having to install CouchDB on my computer. > > > > > > > > > >
