Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 88333 invoked from network); 31 Mar 2009 03:41:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2009 03:41:20 -0000 Received: (qmail 94315 invoked by uid 500); 31 Mar 2009 03:41:19 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 94228 invoked by uid 500); 31 Mar 2009 03:41:19 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 94216 invoked by uid 99); 31 Mar 2009 03:41:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 03:41:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.219.166 as permitted sender) Received: from [209.85.219.166] (HELO mail-ew0-f166.google.com) (209.85.219.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 03:41:11 +0000 Received: by ewy10 with SMTP id 10so2710915ewy.11 for ; Mon, 30 Mar 2009 20:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=m13bCOrOrXVLl+/K5PSxU8P4DGxDBsVVPZdo8ltVstg=; b=UsUpohc3+Ai4yIWSola+15IfEk48V9LO/yay8zWBosKoKANhY4EqSJDoboV7D7VqU0 FGl1/yTauhn0lW3etsDh8pWKZkPzafjPNlZRNRZxEYSKXqcF0whT/jxu3R9DTEepSLpy fLxle0muKwXpHOrOtxZktDZHNCTMeu64qRut0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=JlJ5LEwNNm+iiMA99MR/uIWPCpOd6//wlucmjUL/bn1+tAa6ZZD7Up724z3YVMldry lsClLTzcAxricCZzp2m5ZqSyE20JZvDbxzCN+YJEK0UoQG9tjM90pWAEGyEBwEyku2h8 rOICx1y4rQcOkrzDLmCb5MzaJPnaOfyjSYSvw= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.210.38.5 with SMTP id l5mr4683438ebl.2.1238470849944; Mon, 30 Mar 2009 20:40:49 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Mar 2009 20:40:49 -0700 X-Google-Sender-Auth: 107c63a0d9a1d779 Message-ID: Subject: Re: Multi-Step Map/Reduce? From: Chris Anderson To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Mar 30, 2009 at 6:48 PM, Zachary Zolton wrote: > Devs, > > Has there been any discussion of using multiple rounds of map/reduce > for CouchDB views? > > If were possible, and the view could be indexed within acceptable > bounds of memory and processing time, I could see using it situations > where the current one-pass solution proves difficult or requires > multiple queries. I think the simplest way to add value would be to make a way to bounce a group_level reduce query to documents in another database. Then you could use views to sort them by value etc. > > Also, I tend to be daft, so I'd appreciate hearing if this idea is > silly or simply outside of the scope of CouchDB! > I think it sounds great. Chris -- Chris Anderson http://jchrisa.net http://couch.io