Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 54215 invoked from network); 24 Mar 2010 20:09:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 20:09:58 -0000 Received: (qmail 19264 invoked by uid 500); 24 Mar 2010 20:09:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 19217 invoked by uid 500); 24 Mar 2010 20:09:57 -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 19209 invoked by uid 99); 24 Mar 2010 20:09:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 20:09:57 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zachary.zolton@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-ww0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 20:09:49 +0000 Received: by wwd20 with SMTP id 20so831327wwd.11 for ; Wed, 24 Mar 2010 13:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=U/PETiGl2hSJpvjaFMrpJ5dcGPDJ947SDCKbgYQNCTw=; b=Ty2WELPCQr/q9DF1hMaVdUhWJAsp80f/zsJnaHhmcb9+tx1c9YjQN/gzeFE0MILLVq joNI4rvFlgS38rktDCw7I+Iy/sqSOZj398ARGgOKyl+67bdOuCWJH4DVOIPGWw9INx1f mCZ2zMQsNPQqQr+/DsnKzyxlp6nI/xvcVkleo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Ap0G+Y6gGujAffT0mQxsTVoQtV5CJdzoicpVEEQMKnKQm6xtHtBza9LNMGP2C2t67O V2IuW+CvdqiGsNaFCnEYbfulEs0s7kc9hccVOYbZ0uKaKMlOyIPfws0YWM/E9WDDstN6 u3mPtwkMTN+fpsehxZb8WInvZ48WxQVQ1/0Wk= MIME-Version: 1.0 Received: by 10.216.87.194 with SMTP id y44mr926129wee.157.1269461369261; Wed, 24 Mar 2010 13:09:29 -0700 (PDT) In-Reply-To: <1A6DE587-E582-46BB-8AE2-6DCB90221111@utt.fr> References: <1A8F873D-DB96-49D1-BD1B-45F6EFC3DFBB@utt.fr> <1A6DE587-E582-46BB-8AE2-6DCB90221111@utt.fr> From: Zachary Zolton Date: Wed, 24 Mar 2010 15:09:09 -0500 Message-ID: Subject: Re: group_level in reduce function To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Folks who really need to chain map-reduced views have to hand-roll their own solution. This usually involve some scripting to keep a derived database up-to-date with the output of the source database's view. On Wed, Mar 24, 2010 at 2:20 PM, Aur=E9lien B=E9nel = wrote: > Thanks for your answer. > >> If you want to be able to be able to include the same piece of code in m= ultiple views > Good idea, I'll do that. > >> What do you mean by a script to "combine several views"? > I mean that the implementations of algorithms that benefit from MapReduce= (TF.IDF, Markov chains, K nearest neighbors...) usually need to chain seve= ral MapReduces: =A0the input of a map/reduce is generated by others. I stil= l don't know how to do that in CouchDB. > > > Regards, > > Aur=E9lien