Hey guys,
One of my app’s collections has already 10.000+ documents - and I’m considering the idea of creating an index to increase lookup speed. Since I’ve never done this before, I’d like to know if someone could just briefly summarize to me (and to everyone searching for this topic in the future):
1 - The process.
According to mLab, all I need is to create the index in their platform. Is this true, or is any action in the Meteor-side necessary? Will my lookups ( .find() etc. ) remain the same, or do I need to change selectors and other parameters?
2 - Best practices.
Any tips on how to extract the most from an index in terms of performance, while keeping the space increase low?
Thanks!