Description
Is your feature request related to a problem? Please describe.
My application has a collection with over 1 million objects in it. There are several indexes in this collection. The majority of the time, when querying this collection mongo picks the right index. Sometimes mongo will not pick the right index and queries can take sometimes 30 seconds. When I run the same query by accessing mongo directly, and passing in a hint to ensure the correct index is used, my query time goes to 0.021s.
Describe the solution you'd like
A solution to this would be to allow Parse.Query to accept a hint parameter
Describe alternatives you've considered
There are no other alternatives
Additional context
I would imagine we could add another function to Parse.Query.prototype called "hint". It would take 1 argument which is the name of the index you want to use.