Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 48914 invoked from network); 27 Jan 2010 15:29:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 15:29:28 -0000 Received: (qmail 42591 invoked by uid 500); 27 Jan 2010 15:29:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42527 invoked by uid 500); 27 Jan 2010 15:29:27 -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 42517 invoked by uid 99); 27 Jan 2010 15:29:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 15:29:27 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.g3th.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 15:29:17 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.g3th.net (Postfix) with ESMTP id 7DE796C9273 for ; Wed, 27 Jan 2010 16:28:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.g3th.net Received: from unknown by localhost (amavisd-new, unix socket) id gYpE5RaIlTKX for ; Wed, 27 Jan 2010 16:28:55 +0100 (CET) Received: from [172.16.1.138] (VIP-Place-Properties-1157395.cust-rtr.pacbell.net [69.239.253.34]) (authenticated) by mail.g3th.net (amavisd-milter) (authenticated as web50m1); Wed, 27 Jan 2010 16:28:55 +0100 (CET) (envelope-from ) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Filtering view results in couchdb From: Jan Lehnardt In-Reply-To: Date: Wed, 27 Jan 2010 07:28:53 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org On 12 Jan 2010, at 11:09, Suresh Lakshmanan wrote: > Hi, > > Is there a way to filter the results of a view? I found a filter mechanism > that can be added to design doc and added as a query parameter for the > _change API. > Is there a similar mechanism for a normal view? Hi Suresh, why not use the view's map function to filter? I understand that a post-pocessing filter is a different thing, but this might help already. Cheers Jan --