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 2015/02/21 16:20:11 UTC
[jira] [Updated] (COUCHDB-2610) Mango index should return
information about ddoc id/rev
[ https://issues.apache.org/jira/browse/COUCHDB-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Shorin updated COUCHDB-2610:
--------------------------------------
Summary: Mango index should return information about ddoc id/rev (was: Mango index should information about ddoc id/rev )
> Mango index should return information about ddoc id/rev
> --------------------------------------------------------
>
> Key: COUCHDB-2610
> URL: https://issues.apache.org/jira/browse/COUCHDB-2610
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Mango
> Reporter: Alexander Shorin
>
> What it does now:
> {code}
> $ curl -XPOST http://localhost:16984/test/_index -d '{"index":{"fields": ["foo"]}, "ddoc": "foo", "type": "json"}'
> {"result":"created"}
> {code}
> What document had been created? With what revision? Such response is inconsistent with all other operations upon documents update. To guess what had been just created I have to listen changes feed or fetch all the indexes and search there by query definition to find my design document. That's not good.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)