case insensitive sorting?

1,761 views
Skip to first unread message

filthysock

unread,
Jan 31, 2010, 7:43:08 PM1/31/10
to mongodb-user
Hi all,
Is there any way to sort results while ignoring case?
Currently "jane" comes before "Bob", but this isn't really useful in a
lot of cases.

Eliot Horowitz

unread,
Jan 31, 2010, 8:47:04 PM1/31/10
to mongod...@googlegroups.com
No - there isn't a way right now.
There is case open: http://jira.mongodb.org/browse/SERVER-90
The difficulty is handling all character encodings.
We may do an ascii only solution temporarily if it would help enough people.

> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>

filthysock

unread,
Feb 1, 2010, 12:45:45 AM2/1/10
to mongodb-user
Ok, will have to try to implement that workaround.
Also, an ascii only solution would be fine for us.
Reply all
Reply to author
Forward
0 new messages