couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-2610) Mango index should return information about ddoc id/rev
Date Sat, 21 Feb 2015 15:20:11 GMT

     [ 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)

Mime
View raw message