Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
What it does now:
$ curl -XPOST http://localhost:16984/test/_index -d '{"index":{"fields": ["foo"]}, "ddoc": "foo", "type": "json"}' {"result":"created"}
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.