Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 97108 invoked from network); 13 Oct 2010 15:25:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 15:25:06 -0000 Received: (qmail 73723 invoked by uid 500); 13 Oct 2010 15:25:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 73524 invoked by uid 500); 13 Oct 2010 15:25:06 -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 73514 invoked by uid 99); 13 Oct 2010 15:25:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 15:25:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 15:25:01 +0000 Received: by iwn33 with SMTP id 33so107481iwn.11 for ; Wed, 13 Oct 2010 08:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=fSNSsc5LpibBadoc8EwL1VzQGHea6lWWF+4IANb/YTQ=; b=oSh83UBZP2/J1R0eTna+vFFJbHxfKqTuKHW6q0cbsQTf9D5NrAVWqCJ2Ssxks571Ql lqhmcuMkGpeTtEmyp6qa12rd9GLvZeEY6DTGs3Y73Sp3XL2yETR14/KRWGaFb/8ZATSX S5tjz2NrsXfwma9QUb+y9zS6qxTTkY+Miu5nM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TD4Z80ak+QXlQqvKR2X/NPkNiDMjDB2CaB9xIKRO1ezrrk9t5crd1I1lmIgZPMB8GA ZiBGlRAHl8LNoDsIDvx4D9ClfTdB1k7NnbakZbuR17wPtGqFQAYGZc7Xy9NhJb6NNkGx emy7v5LvkdrAzNHYc9Q3VZrap1j7iv1yIyWYw= MIME-Version: 1.0 Received: by 10.231.31.1 with SMTP id w1mr7086427ibc.162.1286983475717; Wed, 13 Oct 2010 08:24:35 -0700 (PDT) Received: by 10.231.58.199 with HTTP; Wed, 13 Oct 2010 08:24:34 -0700 (PDT) Date: Wed, 13 Oct 2010 17:24:34 +0200 Message-ID: Subject: filter changes for some docids From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi all, For a project I have to know each time a design doc change and for now I have to create a filter function for each databases created to do that. I think getting changes on specific docids is a common behavior (see replication for example) so I thought to add the possibility to filters changes on docids if a list of documents is passed in the request. ex: POST /db/_changes {"docids": ["id1", ..]} Here is the patch that allows that feature : http://github.com/benoitc/couchdb/commit/fd7829b6b3093ab324a2b5c496600cc6335480b8 What do you think about it ? - benoit