Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 71309 invoked from network); 16 Apr 2011 16:26:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2011 16:26:29 -0000 Received: (qmail 49765 invoked by uid 500); 16 Apr 2011 16:26:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 49733 invoked by uid 500); 16 Apr 2011 16:26: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 49724 invoked by uid 99); 16 Apr 2011 16:26:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 16:26:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.traeumt.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 16:26:22 +0000 Received: from [192.168.178.25] (brln-4d0cc975.pool.mediaWays.net [77.12.201.117]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.traeumt.net (Postfix) with ESMTPSA id 418843C14D; Sat, 16 Apr 2011 18:26:01 +0200 (CEST) Subject: Re: Passing _changes feed through a map function? Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Jan Lehnardt In-Reply-To: Date: Sat, 16 Apr 2011 18:26:00 +0200 Cc: Joe Freeman Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) On 16 Apr 2011, at 18:21, kowsik wrote: > On Sat, Apr 16, 2011 at 9:05 AM, Joe Freeman = wrote: >> On 16 April 2011 16:42, Alexander Shorin wrote: >>> On Sat, Apr 16, 2011 at 7:26 PM, Joe Freeman = wrote: >>>> Is there a way to pass the _changes feed (with include_docs=3Dtrue) >>>> through a map function (for example, one that exists as part of an >>>> existing view)? If not, are there any plans for this? >>>>=20 >>>=20 >>> This functionality is already in trunk/1.1.x branch >>> = https://github.com/apache/couchdb/commit/56086f07c425bd272bda5a6609ed9db37= 58178ba >>=20 >> Awesome - looking forward to it :) Thanks Alexander. >=20 > Is this instead of the existing mechanism or yet another way to do > filtered changes? This is one of two new built in filters. The other is for design docs. This so you can get a notification for when a view *would* be updated=20 if you queried it. Cheers Jan --=20