[SERVER-45833] Sorting with collation that has `numericOrdering`, `alternate`, and `shifted` seems to ignore `numericOrdering` Created: 28/Jan/20 Updated: 27/Oct/23 Resolved: 07/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.2.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Valeri Karpov | Assignee: | Katya Kamenieva |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 18.04 with XFCE |
||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Run the given script. I ran it using MongoDB server and shell 4.2.3-rc1 |
| Participants: |
| Description |
|
The below script prints that "950 000" before "970". I'd expect that the given collation makes MongoDB ignore whitespace and treat "950 000" as "950000"
|
| Comments |
| Comment by Katya Kamenieva [ 07/Feb/20 ] |
|
Unfortunately, this use case is not supported by the ICU collation. |
| Comment by Carl Champain (Inactive) [ 29/Jan/20 ] |
|
Hi val@karpov.io, Thank you for the report. Kind regards, |