You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
We probably found a bug in the sort, asc, desc criterion when we sort on strings, the lexicographic sort feature seems broken and returns documents in an invalid order.
Note that algorithm used to lexicographically sort the documents is, indeed, lexicographic and the sort is based on the UTF-8 bytes of the strings, therefore it could give strange results when the first byte of a wide-character i.e. 嵐 is lower than the byte of an ascii one i.e. U and is displayed before the ascii one.
You can reproduce the possible bug with the movies.json dataset, by simply sending those settings:
{
"sortable_attributes": ["title"]
}
The text was updated successfully, but these errors were encountered:
We probably found a bug in the
sort
,asc
,desc
criterion when we sort on strings, the lexicographic sort feature seems broken and returns documents in an invalid order.Note that algorithm used to lexicographically sort the documents is, indeed, lexicographic and the sort is based on the UTF-8 bytes of the strings, therefore it could give strange results when the first byte of a wide-character i.e.
嵐
is lower than the byte of an ascii one i.e.U
and is displayed before the ascii one.You can reproduce the possible bug with the movies.json dataset, by simply sending those settings:
The text was updated successfully, but these errors were encountered: