-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
https://docs.mongodb.com/manual/core/index-intersection/
The above documentation mention
db.orders.find( { qty:
{ $gt: 10 }} ).sort(
{ status: 1 }) query won't use any of the indexes. But on checking with the same example we found out that it uses the index {qty:1}
Please check the code or the documentation