You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2013/07/02 02:29:20 UTC
[jira] [Updated] (COUCHDB-1530) Add a mode to _all_docs to include
deleted docs
[ https://issues.apache.org/jira/browse/COUCHDB-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Shorin updated COUCHDB-1530:
--------------------------------------
Component/s: HTTP Interface
> Add a mode to _all_docs to include deleted docs
> -----------------------------------------------
>
> Key: COUCHDB-1530
> URL: https://issues.apache.org/jira/browse/COUCHDB-1530
> Project: CouchDB
> Issue Type: Improvement
> Components: HTTP Interface
> Affects Versions: 1.2
> Reporter: Jens Alfke
> Priority: Minor
>
> There's currently no efficient way to discover the deleted documents in a database, since _all_docs only returns active documents. It can be useful to show all documents, even deleted ones, for troubleshooting or forensic purposes.
> I propose adding an option like "?include_deleted=true" to _all_docs that will cause it to return deleted documents as well. To provide a way to tell deleted docs apart from active ones (if the include_docs option isn't on), the "value" object should include a "deleted":true property for those docs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira