On 25 Sep 2009, at 07:51, go canal wrote:

thanks for confirming, I think it is acceptable, though not ideal.

Just wondering, since we can modify individual field with Futon, why don't we expose the API ? rgds,

The only thing that is not ideal about this is transport cost and memory usage between the client and CouchDB. This issue came up a few times and we asked that the reporter go and build a working system and then show a real-world benchmark (heh) that indicates that this particular behaviour of CouchDB is a bottleneck. Until then, this is premature optimization that should be avoided.

Cheers
Jan
--


canal




________________________________
From: Jesse Hallett <[email protected]>
To: [email protected]
Sent: Friday, September 25, 2009 9:54:10 AM
Subject: Re: is there a way to pass a request parameter to a view ?

Sorry, you have to upload the whole doc.  You do not have to send
attachments again though.

On Sep 24, 2009 6:14 PM, "go canal" <[email protected]> wrote:

thanks !

Can I use this bulk update to change a field without uploading the full doc:

{
 "docs": [
   {"_id": "1", "_rev": "1-2089673485", "integer": 2},
   {"_id": "2", "_rev": "1-2063452834", "integer": 3, "string": "3"}
 ]
}

So for doc _id 1, I only change 'integer'; will the rest be kept intact, or
CouchDB will actually create a new doc with 'integer' only ?
rgds,
canal




________________________________
From: Jan Lehnardt <[email protected]>

To: [email protected]
Sent: Thursday, September 24, 2009 7:02:30 PM

Subject: Re: is there a way to pass a request parameter to a view ?

On 24 Sep 2009, at 12:40, Matt Goodall wrote: > 2009/9/24 Jan Lehnardt <
[email protected]>: >> >> On 2...




Reply via email to