$hint¶
- $hint¶
Deprecated since version 3.2: The $hint operator is deprecated. Use cursor.hint() instead.
The $hint operator forces the query optimizer to use a specific index to fulfill the query. Specify the index either by the index name or by document.
Use $hint for testing query performance and indexing strategies. The mongo shell provides a helper method hint() for the $hint operator.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.