Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Florian Westreicher Bakk.techn.
This would create the ability that one document that is updated changes all the other docs. I don't think that is a good idea. It will also run forever in a database with a few million documents as they are not filtered by a view first. You can already do something like this with the changes

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Benoit Chesneau
On Wed, Nov 27, 2013 at 9:25 AM, Benoit Chesneau bchesn...@gmail.comwrote: On Wed, Nov 27, 2013 at 4:49 AM, Stanley Iriele siriele...@gmail.comwrote: Bulk updates in couchdb are a tad painful. you have to fetch them out of the database apply your change and save them. I propose adding

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Benoit Chesneau
On Wed, Nov 27, 2013 at 4:49 AM, Stanley Iriele siriele...@gmail.comwrote: Bulk updates in couchdb are a tad painful. you have to fetch them out of the database apply your change and save them. I propose adding the ability to have something like an update handler that folds across documents

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Alexander Shorin
mmm..this would require to be database admin and might not been optimal. May be have just update function name there? Also, I believe, such call will ignore any custom response from update function, right? -- ,,,^..^,,, On Wed, Nov 27, 2013 at 12:25 PM, Benoit Chesneau bchesn...@gmail.com wrote:

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Alexander Shorin
Hi Stanley, If you're trying to update schema for multiple documents, may be couch_normalized would fit you more: https://github.com/roundscope/couch_normalizer -- ,,,^..^,,, On Wed, Nov 27, 2013 at 7:49 AM, Stanley Iriele siriele...@gmail.com wrote: Bulk updates in couchdb are a tad painful.

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Benoit Chesneau
On Wed, Nov 27, 2013 at 9:33 AM, Alexander Shorin kxe...@gmail.com wrote: mmm..this would require to be database admin and might not been optimal. May be have just update function name there? Also, I believe, such call will ignore any custom response from update function, right? --

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Alexander Shorin
On Wed, Nov 27, 2013 at 12:38 PM, Benoit Chesneau bchesn...@gmail.com wrote: On Wed, Nov 27, 2013 at 9:33 AM, Alexander Shorin kxe...@gmail.com wrote: mmm..this would require to be database admin and might not been optimal. May be have just update function name there? Also, I believe, such

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Stanley Iriele
@florian I am not sure what you mean 1 doc update changes all others...I basically you operate on an index of things... Just like a list applies to a view... And each call flushes a doc... Its OK for bulk updates to take a while And the output would be what is returned from the bulk updates

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Stanley Iriele
I guess my point is I would like a feature that let's me do bulk updates without loading them all out And putting them all back... That's as intuitive as the other hosts of functions... If I got the green light I'd be happy to pitch in in the code base... Maybe as an experimental feature or

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Benoit Chesneau
On Wed, Nov 27, 2013 at 9:46 AM, Alexander Shorin kxe...@gmail.com wrote: On Wed, Nov 27, 2013 at 12:38 PM, Benoit Chesneau bchesn...@gmail.com wrote: On Wed, Nov 27, 2013 at 9:33 AM, Alexander Shorin kxe...@gmail.com wrote: mmm..this would require to be database admin and might not been

Re: CouchDB Conf Videos are up!

2013-11-27 Thread Andy Wenk
Hi Benjamin, this is awesome! My Sunday evening is saved now :) Cheers Andy On 26 November 2013 22:28, Benjamin Young byo...@bigbluehat.com wrote: Hi all, Thanks to everyone who made the Apache CouchDB Conference on November 13th in Vancouver so amazing! It was a great show with loads of

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Robert Newson
What request would trigger this fold? What arguments would it take? I'm not sure what's painful about the existing _bulk_docs read and write API's, though exist primarily for bulk importing/exporting, most database interactions are document or view level. Since the word transaction was mentioned,

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Benoit Chesneau
On Wed, Nov 27, 2013 at 12:46 PM, Robert Newson rnew...@apache.org wrote: What request would trigger this fold? What arguments would it take? I'm not sure what's painful about the existing _bulk_docs read and write API's, though exist primarily for bulk importing/exporting, most database

Re: Added translators list to WIKI

2013-11-27 Thread jan i
On 21 November 2013 22:44, Andy Wenk a...@nms.de wrote: Hi all, I have updated the https://wiki.apache.org/couchdb/Translation page and added the names of the translators and contributors for the CouchDB translation team. A big thank you at this point! You rock! Info for the people on the

simple math/statistics problem using map reduce

2013-11-27 Thread Mark Hahn
I'm not an expert on statistics (and I'm lazy) so I thought I'd pose my problem here. Consider it a holiday mind exercise while avoiding relatives. I send customer-uploaded videos to Amazon Elastic Transcoder to generate a video for html5 consumption. It takes a few seconds up to tens of

Re: Rewriting query keys

2013-11-27 Thread martinh
Here's an example of one I use that does something similar [     {          from : /isBlocked/:blockee,          to: _list/isBlocked/isBlocked,          query: {              key : :blockee,              include_docs : true,             reduce : false }      },     ... ] Martin On