-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoIndex does not use Schema collation to create index #9912
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Comments
jeremyml
changed the title
autoindex does not use Schema collation to create index
autoIndex does not use Schema collation to create index
Feb 10, 2021
vkarpov15
added
the
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
label
Feb 13, 2021
This was referenced Mar 5, 2021
Closed
This was referenced Mar 12, 2021
Bump mongoose from 5.10.14 to 5.12.0 in /backend-main
Simonymous/Projektarbeit-Master-NTT-WS20-21#10
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no
en
collation on the index created by autoIndex . I may write a startup script to perform the autoIndex function with the collation options set on the Schema. Mongoose ignores the Schema collation when autoIndex creates an index (uses collection default collation instead).Seems related to this other issue: #7621
The text was updated successfully, but these errors were encountered: