You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/07/15 14:05:36 UTC

[GitHub] [couchdb] hamedminaee opened a new issue #3006: Sorting on string is not lexicographical

hamedminaee opened a new issue #3006:
URL: https://github.com/apache/couchdb/issues/3006


   Hi couch team,
   I am trying to get the sorting works on strings in couchdb. so I have some string dates:
   2017-11-16T12:55:28.101Z
   2019-11-16T12:55:51.76Z
   2018-11-16T12:55:28.883Z
   2019-11-16T12:59:17.034Z
   so after I call the couch using luecene sort for example:
   limit=10&sort=-last_observed<string>
   I expect to see
   2019-11-16T12:59:17.034Z
   2019-11-16T12:55:51.76Z
   2018-11-16T12:55:28.883Z
   2017-11-16T12:55:28.101Z
   but I do not see the result in that order. Does couch use any other logic for sorting?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] janl closed issue #3006: Sorting on string is not lexicographical

Posted by GitBox <gi...@apache.org>.
janl closed issue #3006:
URL: https://github.com/apache/couchdb/issues/3006


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org