From user-return-9527-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Mar 25 00:04:29 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 94468 invoked from network); 25 Mar 2010 00:04:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Mar 2010 00:04:29 -0000 Received: (qmail 50365 invoked by uid 500); 25 Mar 2010 00:04:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50273 invoked by uid 500); 25 Mar 2010 00:04:27 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 50265 invoked by uid 99); 25 Mar 2010 00:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 00:04:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of faust451@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 00:04:18 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1909386fga.5 for ; Wed, 24 Mar 2010 17:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=8ZnrFzZ6ml00DmBkqqzXFdhu1tlqpMOAe4M3cr2VxfA=; b=PMscjz9Z5trIEtzI3KUhdkzUqQs45w4IMXa+dc7aKXTi67yKdySRMvyp5w4tTIb7xB 3c349ccqX3SgWpRw5UbFl55ZZZhYFXTRmF/sZCs97YQN9OeGm4/US+Ugk1i/a5+ZevDl XGSQYmZ5jzTlTe/09USWPp21VKcSZdKgkMKB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sXRXSEyzBAATkfzogzO3AWfxMu1sSmTekoTHQt9hkL5qaT+qDzXtBWQHeAlGRqDntD PvhyV0nObIRSYQNevxlCWluKEjCL0Tl0E9wmesRC+8ryh89xgWjelrIrx2iY26j9UxwK 5BmMRNu6dvxu0ZwCQkfy2QsflMuw8wBtgYeZw= MIME-Version: 1.0 Received: by 10.86.99.18 with HTTP; Wed, 24 Mar 2010 17:03:58 -0700 (PDT) Date: Thu, 25 Mar 2010 05:33:58 +0530 Received: by 10.87.15.14 with SMTP id s14mr868809fgi.8.1269475438147; Wed, 24 Mar 2010 17:03:58 -0700 (PDT) Message-ID: Subject: bulk Updates From: faust 1111 To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org if i follow The CouchDB pattern would be something like: 1. Define a view that allows you to fetch the docs you want. 2. Fetch the docs, possibly using ?include_docs=true 3. Update the docs in the client 4. Push all the docs back using _bulk_docs its will be to slow in my case i have contents with authors: content { authors: [ {name: 'Lara', slug: 23424}, {name: 'Dimon', slug: 23445} ] } if author change name i must fetch 2000 docs and by hand change author name in each doc this is crazy job guy`s. May be i`am thinking in wrong way? please help.