It seems when query planner uses hashed index for search, the same hashed index will be used for sorting. The use-case is a light modification of use-case listed in SERVER-13899
Reproduced on mongod-2.6.4
- related to
-
SERVER-11568 query optimizer fails to use index when sort spec is inconsistent with index spec
- Closed