Skip to content

Instantly share code, notes, and snippets.

@Erol
Last active September 25, 2020 06:07
Show Gist options
  • Save Erol/d5e4bd0fd196aed8b5e15693f7571007 to your computer and use it in GitHub Desktop.
Save Erol/d5e4bd0fd196aed8b5e15693f7571007 to your computer and use it in GitHub Desktop.
Query Log
{
"query": {
"find": "items",
"filter": {
"parent_id": {
"$oid": "..."
},
"$or": [
{
"title": {
"$regex": "rabbit",
"$options": "im"
}
},
{
"name": {
"$regex": "rabbit",
"$options": "im"
}
}
]
}
},
"planSummary": [
{
"IXSCAN": {
"parent_id": 1,
"title": 1,
"name": 1
}
}
],
"keysExamined": 342904,
"docsExamined": 342904,
"cursorExhausted": 1,
"numYields": 7018,
"millis": 169195
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment