-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Version
6.2.0
Describe the bug
In the Turkish language, lowercase and capital i/I are not the same letter. EnsureIndex does not create a proper name in this case
e.g. EnsureIndex(x => x.Id) // note Id is mapped to _id
and EnsureIndex(x => x.Iid) // I in Iid is treated as non-ascii character in Regex, and removed
This creates two distinct index names in English (id, Iid). But it creates the same index name in Turkish (id), despite it being applied to two distinct fields.
Code to Reproduce
set current culture to tr-TR
Create two indexes as above
throws IndexAlreadyExist exception
Expected behavior
ignore culture in all Regex handlers
Reactions are currently unavailable