[SERVER-105] String lexicographical ordering Created: 14/Jun/09 Updated: 02/Aug/18 Resolved: 15/Jun/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 0.9.4 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Elcio Nakashima | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
When sorting string fields, MongoDB returns results using binary representation sort order, which makes results starting with 'Z' uppercase appear before 'a' lowercase. It would be very nice if it used lexicographical ordering. Even nicier if it supported international charsets (i.e. sort correctly characters not from the standard basic A-Za-z0-9 chars. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 29/Oct/09 ] |
|
|
| Comment by Eliot Horowitz (Inactive) [ 15/Jun/09 ] |
|
maybe some extra work as well |
| Comment by Eliot Horowitz (Inactive) [ 15/Jun/09 ] |
|
We're going to do a case-insensitive index that will also provide this behavior. |