with the below pipeline
"pipeline": [
{
"$match": {
"uid": "cdc67cf2-0c23-4d32-b103-f78503824b18"
}
},
{
"$sort": {
"score": -1,
"_id": 1
}
},
{
"$skip": 0
},
{
"$limit": 100
}.........>
, "collation": {
"locale": "en"
},
and index - {uid:1, score: -1, _id:1}
My execution plan shows up -
“planSummary”: “COLLSCAN”,
“keysExamined”: 0,
“docsExamined”: 72719,
“hasSortStage”: true,
“cursorExhausted”: true,
“numYields”: 74,
“nreturned”: 100,
WHY is the above query not using the index? What is wrong with the index?