When using hint() with count() it only works with the string name of the index and not a document representing the index key.
- is duplicated by
-
SERVER-16945 cannot specify index when count command
- Closed
- related to
-
SERVER-2677 Allow count to work with query hints
- Closed