Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 32604 invoked from network); 3 Aug 2010 17:52:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 17:52:47 -0000 Received: (qmail 89443 invoked by uid 500); 3 Aug 2010 17:52:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 89378 invoked by uid 500); 3 Aug 2010 17:52:45 -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 89369 invoked by uid 99); 3 Aug 2010 17:52:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 17:52:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of afters.mail@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 17:52:39 +0000 Received: by wya21 with SMTP id 21so5601615wya.11 for ; Tue, 03 Aug 2010 10:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VT81+FX5kKHdSPTzNH1bSeN+qGm5EoHVXxuOBBb30TI=; b=ZcIeNpAyu1if6O2drW198Bp9bSsK/6x50/T4c1zTNETzfCI5mrgmmAjwLicDXXQDHZ lIXKghAndkJFUkG4nG9Lo78FKvYb/qRBl0m/NDCrDNJpy1q36kwoJEJ8Tg0z5GJBUDCb 60YCWasm/TGDdkRMDUUn5h5/l+E/ZKO0UZoGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ttFqVLJ0PdUe/9M+Hupx6uh7Vrb76gtEqzuLiMz1t2xCAhaJ5w9Szwb3w1k848ycVy BF3G1hMNUApxs/Yu9mi6dJncYlUNDw/N75lFHEqBuE4Ln6vJtgA0A2Bve7l1eiRfwG5j pmRt/da6N3Hcf+hQFk7gCADR28DLjxSqTCxSc= MIME-Version: 1.0 Received: by 10.216.52.78 with SMTP id d56mr685489wec.62.1280857938714; Tue, 03 Aug 2010 10:52:18 -0700 (PDT) Received: by 10.216.156.195 with HTTP; Tue, 3 Aug 2010 10:52:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Aug 2010 20:52:18 +0300 Message-ID: Subject: Re: Getting Info About Just Deleted Document From: afters To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6dbe6dc71df56048ceefa28 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dbe6dc71df56048ceefa28 Content-Type: text/plain; charset=ISO-8859-1 I'm curious also, as this could be useful for me in the future. I tried to PUT the original doc with an added '_delete: true' in hope to preserve the rest of the fields, but they didn't appear in _changes. There was some talk in IRC a week or two ago about adding the previous version of a doc to the _changes feed, but it didn't appear too serious. Is something like this in anyone's pipeline? a. On 3 August 2010 19:56, King Huang wrote: > Hi, > > Is there some way to get a document that was just deleted? > > I'm using the _changes feed with include_docs=True to watch for document > changes and perform tasks based on the documents. This works well until a > document is deleted. There doesn't seem to be a way to get the document that > was just deleted. Using revs=true to find the previous revision returns a > 404 with reason:deleted. Is finding a just deleted document possible? > > Thanks, > > King Chung Huang > Technology Solutions Analyst > Information Technologies > University of Calgary > > > > > --0016e6dbe6dc71df56048ceefa28--