Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 12236 invoked from network); 18 May 2010 18:17:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 18:17:29 -0000 Received: (qmail 86507 invoked by uid 500); 18 May 2010 18:17:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86476 invoked by uid 500); 18 May 2010 18:17:28 -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 86468 invoked by uid 99); 18 May 2010 18:17:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 18:17:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=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 jchris@gmail.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 18:17:19 +0000 Received: by pwi2 with SMTP id 2so3260527pwi.11 for ; Tue, 18 May 2010 11:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=65DPxXO3bpWx3DwSj8riyjXoxg48kgI5d7PCXxQMs+4=; b=xBun1hYG0HNAn84Rjqufb/5XLfIkomitNyrTL/clRsxz001ZI3+DvKkn4woebgvaRj 1hrZXlfMrEncYS20cUBNZ5WqtHy9uYKkWZfAtgj//dC3/1kEtSZDgkhnxp85oIuVg32L uFbL90sF1dvDnCw3H9GQgO9livUq3RPGZrBTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=mQl1rdVQzjrX1c/lOd+nVI8YIktK6rjGIfG48kdmXB2uqivn7GBFCERr6eCVGXJOov UhdvyMK1eyrO4SP8ELNybq8uHNNjMd0FmE9OGHEBkbsIcBu+G8ZskKaZ5IfPQ0/xKx71 0c50n+5/LJOQZuBfH+/nQ4cxFeMyvdEcE2yBI= Received: by 10.115.64.32 with SMTP id r32mr6250339wak.15.1274206617926; Tue, 18 May 2010 11:16:57 -0700 (PDT) Received: from [10.0.1.249] (h-74-1-186-35.snfccasy.static.covad.net [74.1.186.35]) by mx.google.com with ESMTPS id d20sm60668654waa.3.2010.05.18.11.16.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 11:16:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: Multiple map reduce stages From: J Chris Anderson In-Reply-To: <4BF26365.7030201@microlution.de> Date: Tue, 18 May 2010 11:16:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4BF26365.7030201@microlution.de> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org On May 18, 2010, at 2:52 AM, Kropp, Henning wrote: > Hi, >=20 > as far as I know working with map reduce commonly involves multiple = map > and reduce stages. A view in couchdb solely consists of one map and if > necessary one reduce stage!? To have multiple map and reduce stages = one > would have to conjunct views in couchdb!? How can I do that? Is it > possible to give the function(doc){..} another parameter? There is the > shows which have the extra parameter req for the http request. > Unfortunately my javascript knowledge of the underlaying Prototype > concept is not very funded which could be helpful here? >=20 > Kind regards and many thanks in advanced CouchDB Map Reduce is a realtime incremental model, so it is quite = different from the Hadoop-style batch model. Of course you can still = chain map reduce by copying the rows from a view query to a new db, and = writing another view on the new db. Chris=