meteor-schema-index
meteor-schema-index copied to clipboard
Allow disabling indexing
Per #17 this PR allows to set Meteor.settings.collection2.dontRunIndexing to true which will then disable the indexing functionality.
To discuss here is that maybe we should enable this only for development.
I don't really see the point?? Why not remove the indexes you created? A big kill switch isn't that big of a deal really. Especially given how simple it's to use this packages index: 1 How hard it's for you to search the code and remove those statements?? :-1:
Simple answer: packages If you have a package that depends on this package and sets indexes via collection2, then unless you have this option or manually edit the target package you have to do things manually in MongoDB and every time your server updates.
like what packages?
Socialize packages, freedombase:legal-management, etc.
In general feature packages that add collections.
ok, fair enough.