Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F167114D7 for ; Mon, 5 May 2014 12:01:15 +0000 (UTC) Received: (qmail 22699 invoked by uid 500); 5 May 2014 12:01:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 22558 invoked by uid 500); 5 May 2014 12:01:06 -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 22525 invoked by uid 99); 5 May 2014 12:01:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 12:01:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of st.fankl.in@gmail.com designates 209.85.213.42 as permitted sender) Received: from [209.85.213.42] (HELO mail-yh0-f42.google.com) (209.85.213.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 12:00:57 +0000 Received: by mail-yh0-f42.google.com with SMTP id t59so2123712yho.15 for ; Mon, 05 May 2014 05:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pJJBFMXekJCfTZh16wohdvt0uL/BR8JQBIP1pUuBmLM=; b=rbYW6ICNV5m1ub0joV7HG3Y72pldsax8AAVdaXQXKL792wlrfaZnoABzp88y1afLpL J4roer6wamdqq73UjTZdF6YUDZsv4ULKv+74iJRtMIDTSRbA4gbQwC/0hmK5h3VqqTQS n5lT80JBkYeO15xqrMrg/yY/sB1nBtG5My1GgZe/7B+tzk1Lybk1oK5l8hz6WYqgUs1J TFyg3QEJrQdsAWRgp3WqQ6s+muu5F8wB3RWZm4aSGibm8FN3WgZPv93kQOoML4/hcB2E Ta9tq182YaFxOwWhe7wOiajm/5Pw8rD1AGtj6AR3EqpFZmsJkDzhHgT0yuznOo4KknTu xgCg== MIME-Version: 1.0 X-Received: by 10.236.91.67 with SMTP id g43mr46494302yhf.146.1399291236894; Mon, 05 May 2014 05:00:36 -0700 (PDT) Received: by 10.170.119.16 with HTTP; Mon, 5 May 2014 05:00:36 -0700 (PDT) Date: Mon, 5 May 2014 14:00:36 +0200 Message-ID: Subject: filter changes feed for deletes of a specific document type From: Stefan Klein To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf300e4cf11ccbde04f8a5e178 X-Virus-Checked: Checked by ClamAV on apache.org --20cf300e4cf11ccbde04f8a5e178 Content-Type: text/plain; charset=UTF-8 Hi, I try to find a way to get deletes of documents with a specific type* from the changes feed. >From the documentation I don't see a way, neither with filters nor with using a view as a filter, since both only get the current, deleted revision where the type is already gone. Also tried to get the last non-deleted revision from the database using a get on the documentid with a combination of rev, revs, meta and but a deleted document is deleted .. so all i get is a 404 reason: deleted. Am I missing something, is there a workaround? * i refer to the quasi standard doc.type = 'myType' thanks, Stefan --20cf300e4cf11ccbde04f8a5e178--