-
Notifications
You must be signed in to change notification settings - Fork 68
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
Disable creation of certain Mongo indexes? #393
Comments
Yes that might be the case, are you using the Please show me an example of your configuration. |
No, I'm not using |
You don't have any configuration at all? Simply adding the package creates indexes? Please show me the EasySearch related code from your app. |
Pretty much this:
|
I'll lower the priority of this as the only place in the core code that touches / creates an index is when the |
This seems to have created problems with other users too so I'l prioritize this now |
Hi and thanks for this package!
It looks like this package automatically creates a bunch of Mongo indexes when the app starts up.
Is there any way to tell it to not create a specific index? I'm occasionally getting a MongoError: E11000 duplicate key error on a field that I don't ever need to search on.
I noticed I can:
db.users.getIndexes()
-- see the problem indexdb.users.dropIndex('services.phone.verify.code_1');
-- index is gonemeteor remove easy:search
-- for testingmeteor add easy:search
The text was updated successfully, but these errors were encountered: