nickva edited a comment on pull request #3783:
URL: https://github.com/apache/couchdb/pull/3783#issuecomment-949932469


   > if CouchDB has considered those strings to be equal but doesn't normalise 
them in its results.
   
   CouchDB currently doesn't normalize json keys in the views, neither when 
updating the view or the start/end keys or key dicts when querying. Perhaps we 
should do it, but I think that's a larger decision to be made, as it would 
involve compatibility with existent views.
   
   CouchDB relies on unicode comparisons only (`less(A,B) -> -1 | 0 | 1`). That 
function is used on each shard as base BTree ordering function, and used in the 
coordinator (fabric) when merging results. The primary issue that previously 
there was a subtle difference in how the functions worked on each shard vs how 
it works in the coordinator.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

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


Reply via email to