Re: Why it

2015-02-02 Thread Benoit Chesneau
On Mon, Feb 2, 2015 at 11:45 AM, Mike Marino mmar...@gmail.com wrote: Hi, why do you say it is a 'mistake' to emit doc from a view? I do have views that get some param and return the resulting doc(s). E.g.: map|:|function(doc) {if(doc.startDate !doc.disabled)

Re: Update handlers

2015-02-02 Thread Johannes Jörg Schmidt
Note that req.body, in contrast to req.query, is the raw request body and have to be parsed manually: JSON.parse(req.body) 2015-01-29 20:52 GMT+01:00 Kiril Stankov ki...@open-net.biz: Yes, it really does... I am using nano. Must be problem there. Thanks! К. On 1/29/2015 8:08 PM,

Re: Why it

2015-02-02 Thread Kiril Stankov
Hi, why do you say it is a 'mistake' to emit doc from a view? I do have views that get some param and return the resulting doc(s). E.g.: map|:|function(doc) {if(doc.startDate !doc.disabled) {emit(doc.startDate, doc);}} Is there more effective way? Thanks.

Re: Why it

2015-02-02 Thread Mike Marino
Hi, why do you say it is a 'mistake' to emit doc from a view? I do have views that get some param and return the resulting doc(s). E.g.: map|:|function(doc) {if(doc.startDate !doc.disabled) {emit(doc.startDate, doc);}} Perhaps it's more correct to say unnecessary. You can

Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-02 Thread Roger Sindreu
Hi everyone, Nice to be here and thanks everyone for their support to couchdb. We have a installation with couchdb 1.2.2 (a few gigabytes and hundreds of thousands of documents), with 3 machines being replicated. Our issue is that the replication from one machine to the other two will never get

[NEWS] Your links for the CouchDB Weekly News

2015-02-02 Thread Lena Reinhard
HI everyone, if you want to submit a link for this week’s CouchDB News, please submit it until Thursday, 03 February, 4pm CET. Thanks best, Lena

Re: [NEWS] Your links for the CouchDB Weekly News

2015-02-02 Thread Andy Wenk
Hi Lena, Robert K's. blogpost ;-) http://robert-kowalski.de/blog/choosing-the-right-stack-why-we-chose-hapi-couchdb-and-ansible/ Looking forward to see you Saturday Cheers Andy On 2 February 2015 at 11:20, Lena Reinhard l...@thehoodiefirm.com wrote: HI everyone, if you want to submit a

[CASE-STUDY] Why CouchDB, Ansible and Hapi.js is a perfect fit for us

2015-02-02 Thread Robert Kowalski
I blogged why CouchDB is a perfect fit for our project: http://robert-kowalski.de/blog/choosing-the-right-stack-why-we-chose-hapi-couchdb-and-ansible/ Best, Robert