Alexander Shorin created COUCHDB-2610:
-----------------------------------------
Summary: Mango index should 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)