From dev-return-13578-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Nov 30 13:31:16 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 86325 invoked from network); 30 Nov 2010 13:31:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 13:31:15 -0000 Received: (qmail 79468 invoked by uid 500); 30 Nov 2010 13:31:12 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 79204 invoked by uid 500); 30 Nov 2010 13:31:12 -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 78593 invoked by uid 99); 30 Nov 2010 13:31:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 13:31:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fdmanana@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 13:31:03 +0000 Received: by fxm5 with SMTP id 5so4374415fxm.11 for ; Tue, 30 Nov 2010 05:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=UgeJVofDpjblUVVwV/fzedGwml1UmxLvzm6o7Y73b4Q=; b=kPz18IuWwWERe8+GfGTh2uMujRxyX/D1/QNM17S+WbZyWLRiN/DXAW5OkJJ8319Fda v7tmBmQml0uUYQvr9c/DEqALU8JKpeNYFzaV00DxZ7BsNXlUZnNwN5/nIaadg0NbHTKM dqRrcyef1KcEMTAqGYNIqqKTVpNi81L09/vYU= 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=XvssSugi363P4Aue89zTSPRzIkrdBSTaLns5cUO9s//3XcuMcwPLkLnvIlnqN0Gjt0 hs9UB26j4TOBjut7vJAlFb8aIuNT9rTK4qvAbb7vYywraKWT1pAk2UQ5nkbAnAQdDGJG cgyVf/yuap+H9x/GKCQgBMo29udWRU5B3FPhQ= MIME-Version: 1.0 Received: by 10.223.74.141 with SMTP id u13mr1763036faj.62.1291123843074; Tue, 30 Nov 2010 05:30:43 -0800 (PST) Sender: fdmanana@gmail.com Received: by 10.223.2.11 with HTTP; Tue, 30 Nov 2010 05:30:43 -0800 (PST) In-Reply-To: References: <2A21D31B-3226-45BA-A2DE-39C7344C7A17@apache.org> Date: Tue, 30 Nov 2010 13:30:43 +0000 X-Google-Sender-Auth: ALCIRwSUjdpWEnQR04l6GOfoH84 Message-ID: Subject: Re: use view functions to emit changes From: Filipe David Manana To: dev@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Nov 30, 2010 at 1:16 PM, Benoit Chesneau wrot= e: > That's what we discussed the other day on irc. It doesn't do more than Not everyone is always on IRC, and when there not always paying attention to every conversation there :) > "use map view function to filter changes =C2=A0instead of duplicating the > effort in writing a filter function that does the same, which is > apparently done a lot. So each time a value could be emitted, a change > is returned. The url is : > > http://127.0.0.1:5984/testdb/_changes?filter=3D_view&view=3Ddname/viewnam= e > > On other advantage is that I can also use this in an external indexer. > > - beno=C3=AEt. > --=20 Filipe David Manana, fdmanana@gmail.com, fdmanana@apache.org "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men."