couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Kołodziejski (JIRA) <j...@apache.org>
Subject [jira] [Created] (COUCHDB-2056) startkey/endkey should be reported incompatible with key
Date Sat, 08 Feb 2014 10:57:19 GMT
Tomasz Kołodziejski created COUCHDB-2056:
--------------------------------------------

             Summary: startkey/endkey should be reported incompatible with key
                 Key: COUCHDB-2056
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2056
             Project: CouchDB
          Issue Type: Improvement
      Security Level: public (Regular issues)
            Reporter: Tomasz Kołodziejski


Sometimes you can get surprising results:

_all_docs?key="1"&startkey="0"

can be different from

_all_docs?startkey="0"&key="1"

Reason for that is that key is implemented as startkey+endkey and these are not meant to be
used together.
It would be nice to report it just as we report keys incompatibility with key/startkey/endkey.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message