{
  "explainVersion": "2",
  "stages": [
    {
      "$cursor": {
        "queryPlanner": {
          "namespace": "bigDB.faker_hacker",
          "indexFilterSet": false,
          "parsedQuery": {
            "abbreviation": {
              "$regex": "png",
              "$options": "i"
            }
          },
          "queryHash": "5DB2D96E",
          "planCacheKey": "7F56DD5F",
          "maxIndexedOrSolutionsReached": false,
          "maxIndexedAndSolutionsReached": false,
          "maxScansToExplodeReached": false,
          "winningPlan": {
            "queryPlan": {
              "stage": "LIMIT",
              "planNodeId": 3,
              "limitAmount": 6,
              "inputStage": {
                "stage": "FETCH",
                "planNodeId": 2,
                "inputStage": {
                  "stage": "IXSCAN",
                  "planNodeId": 1,
                  "filter": {
                    "abbreviation": {
                      "$regex": "png",
                      "$options": "i"
                    }
                  },
                  "keyPattern": {
                    "abbreviation": 1
                  },
                  "indexName": "abbr_index",
                  "isMultiKey": false,
                  "multiKeyPaths": {
                    "abbreviation": []
                  },
                  "isUnique": false,
                  "isSparse": false,
                  "isPartial": false,
                  "indexVersion": 2,
                  "direction": "forward",
                  "indexBounds": {
                    "abbreviation": ["[\"\", {})", "[/png/i, /png/i]"]
                  }
                }
              }
            },
            "slotBasedPlan": {
              "slots": "$$RESULT=s25 $$RID=s26 env: { s2 = Nothing (SEARCH_META), s1 = TimeZoneDatabase(CET...Pacific/Johnston) (timeZoneDB), s3 = 1651510814520 (NOW) }",
              "stages": "[3] limit 6 \n[2] nlj [] [s9, s5, s6, s7, s8] \n    left \n        [1] filter {fillEmpty (s4 == /png/i, false) || fillEmpty (regexMatch (PcreRegex(/png/i), s4), false)} \n        [1] filter {isRecordId (s9)} \n        [1] lspool sp1 [s9, s4, s5, s6, s7, s8] {! isRecordId (s9)} \n        [1] union [s9, s4, s5, s6, s7, s8] [\n            [s15, s10, s11, s12, s13, s14] [1] project [s10 = Nothing, s11 = Nothing, s12 = Nothing, s13 = Nothing, s14 = Nothing, s15 = KS(3C000104)] \n            [1] limit 1 \n            [1] coscan , \n            [s24, s16, s17, s18, s19, s20] [1] nlj [] [s22, s18, s20] \n                left \n                    [1] sspool sp1 [s22, s18, s20] \n                right \n                    [1] chkbounds s19 s21 s24 \n                    [1] nlj [s18, s20] [s23] \n                        left \n                            [1] project [s18 = \"abbr_index\", s20 = {\"abbreviation\" : 1}, s23 = s22] \n                            [1] limit 1 \n                            [1] coscan \n                        right \n                            [1] ixseek s23 none s19 s21 s17 [s16 = 0] @\"a3df63e9-c681-4896-92cf-3b32a72075ef\" @\"abbr_index\" true \n                        \n                    \n                \n            \n       ] \n    right \n        [2] limit 1 \n        [2] seek s9 s25 s26 s5 s6 s7 s8 [] @\"a3df63e9-c681-4896-92cf-3b32a72075ef\" true false \n    \n"
            }
          },
          "rejectedPlans": []
        },
        "executionStats": {
          "executionSuccess": true,
          "nReturned": 6,
          "executionTimeMillis": 1,
          "totalKeysExamined": 479,
          "totalDocsExamined": 6,
          "executionStages": {
            "stage": "limit",
            "planNodeId": 3,
            "nReturned": 6,
            "executionTimeMillisEstimate": 0,
            "opens": 1,
            "closes": 1,
            "saveState": 1,
            "restoreState": 1,
            "isEOF": 1,
            "limit": 6,
            "inputStage": {
              "stage": "nlj",
              "planNodeId": 2,
              "nReturned": 6,
              "executionTimeMillisEstimate": 0,
              "opens": 1,
              "closes": 1,
              "saveState": 1,
              "restoreState": 1,
              "isEOF": 0,
              "innerOpens": 6,
              "innerCloses": 1,
              "outerProjects": [],
              "outerCorrelated": [9, 5, 6, 7, 8],
              "outerStage": {
                "stage": "filter",
                "planNodeId": 1,
                "nReturned": 6,
                "executionTimeMillisEstimate": 0,
                "opens": 1,
                "closes": 1,
                "saveState": 1,
                "restoreState": 1,
                "isEOF": 0,
                "numTested": 479,
                "filter": "fillEmpty (s4 == /png/i, false) || fillEmpty (regexMatch (PcreRegex(/png/i), s4), false) ",
                "inputStage": {
                  "stage": "filter",
                  "planNodeId": 1,
                  "nReturned": 479,
                  "executionTimeMillisEstimate": 0,
                  "opens": 1,
                  "closes": 1,
                  "saveState": 1,
                  "restoreState": 1,
                  "isEOF": 0,
                  "numTested": 480,
                  "filter": "isRecordId (s9) ",
                  "inputStage": {
                    "stage": "lspool",
                    "planNodeId": 1,
                    "nReturned": 480,
                    "executionTimeMillisEstimate": 0,
                    "opens": 1,
                    "closes": 1,
                    "saveState": 1,
                    "restoreState": 1,
                    "isEOF": 0,
                    "spoolId": 1,
                    "outputSlots": [9, 4, 5, 6, 7, 8],
                    "filter": "! isRecordId (s9) ",
                    "inputStage": {
                      "stage": "union",
                      "planNodeId": 1,
                      "nReturned": 480,
                      "executionTimeMillisEstimate": 0,
                      "opens": 1,
                      "closes": 1,
                      "saveState": 1,
                      "restoreState": 1,
                      "isEOF": 0,
                      "inputSlots": [
                        15, 10, 11, 12, 13, 14, 24, 16, 17, 18, 19, 20
                      ],
                      "outputSlots": [9, 4, 5, 6, 7, 8],
                      "inputStages": [
                        {
                          "stage": "project",
                          "planNodeId": 1,
                          "nReturned": 1,
                          "executionTimeMillisEstimate": 0,
                          "opens": 1,
                          "closes": 1,
                          "saveState": 1,
                          "restoreState": 1,
                          "isEOF": 1,
                          "projections": {
                            "10": "Nothing ",
                            "11": "Nothing ",
                            "12": "Nothing ",
                            "13": "Nothing ",
                            "14": "Nothing ",
                            "15": "KS(3C000104) "
                          },
                          "inputStage": {
                            "stage": "limit",
                            "planNodeId": 1,
                            "nReturned": 1,
                            "executionTimeMillisEstimate": 0,
                            "opens": 1,
                            "closes": 1,
                            "saveState": 1,
                            "restoreState": 1,
                            "isEOF": 1,
                            "limit": 1,
                            "inputStage": {
                              "stage": "coscan",
                              "planNodeId": 1,
                              "nReturned": 1,
                              "executionTimeMillisEstimate": 0,
                              "opens": 1,
                              "closes": 1,
                              "saveState": 1,
                              "restoreState": 1,
                              "isEOF": 0
                            }
                          }
                        },
                        {
                          "stage": "nlj",
                          "planNodeId": 1,
                          "nReturned": 479,
                          "executionTimeMillisEstimate": 0,
                          "opens": 1,
                          "closes": 1,
                          "saveState": 1,
                          "restoreState": 1,
                          "isEOF": 0,
                          "innerOpens": 1,
                          "innerCloses": 1,
                          "outerProjects": [],
                          "outerCorrelated": [22, 18, 20],
                          "outerStage": {
                            "stage": "sspool",
                            "planNodeId": 1,
                            "nReturned": 1,
                            "executionTimeMillisEstimate": 0,
                            "opens": 1,
                            "closes": 1,
                            "saveState": 1,
                            "restoreState": 1,
                            "isEOF": 0,
                            "spoolId": 1,
                            "outputSlots": [22, 18, 20]
                          },
                          "innerStage": {
                            "stage": "chkbounds",
                            "planNodeId": 1,
                            "nReturned": 479,
                            "executionTimeMillisEstimate": 0,
                            "opens": 1,
                            "closes": 1,
                            "saveState": 1,
                            "restoreState": 1,
                            "isEOF": 0,
                            "seeks": 0,
                            "inKeySlot": 19,
                            "inRecordIdSlot": 21,
                            "outSlot": 24,
                            "inputStage": {
                              "stage": "nlj",
                              "planNodeId": 1,
                              "nReturned": 479,
                              "executionTimeMillisEstimate": 0,
                              "opens": 1,
                              "closes": 1,
                              "saveState": 1,
                              "restoreState": 1,
                              "isEOF": 0,
                              "innerOpens": 1,
                              "innerCloses": 1,
                              "outerProjects": [18, 20],
                              "outerCorrelated": [23],
                              "outerStage": {
                                "stage": "project",
                                "planNodeId": 1,
                                "nReturned": 1,
                                "executionTimeMillisEstimate": 0,
                                "opens": 1,
                                "closes": 1,
                                "saveState": 1,
                                "restoreState": 1,
                                "isEOF": 0,
                                "projections": {
                                  "18": "\"abbr_index\" ",
                                  "20": "{\"abbreviation\" : 1} ",
                                  "23": "s22 "
                                },
                                "inputStage": {
                                  "stage": "limit",
                                  "planNodeId": 1,
                                  "nReturned": 1,
                                  "executionTimeMillisEstimate": 0,
                                  "opens": 1,
                                  "closes": 1,
                                  "saveState": 1,
                                  "restoreState": 1,
                                  "isEOF": 0,
                                  "limit": 1,
                                  "inputStage": {
                                    "stage": "coscan",
                                    "planNodeId": 1,
                                    "nReturned": 1,
                                    "executionTimeMillisEstimate": 0,
                                    "opens": 1,
                                    "closes": 1,
                                    "saveState": 1,
                                    "restoreState": 1,
                                    "isEOF": 0
                                  }
                                }
                              },
                              "innerStage": {
                                "stage": "ixseek",
                                "planNodeId": 1,
                                "nReturned": 479,
                                "executionTimeMillisEstimate": 0,
                                "opens": 1,
                                "closes": 1,
                                "saveState": 1,
                                "restoreState": 1,
                                "isEOF": 0,
                                "indexName": "abbr_index",
                                "keysExamined": 479,
                                "seeks": 1,
                                "numReads": 479,
                                "recordSlot": 19,
                                "recordIdSlot": 21,
                                "snapshotIdSlot": 17,
                                "seekKeySlotLow": 23,
                                "outputSlots": [16],
                                "indexKeysToInclude": "00000000000000000000000000000001"
                              }
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "innerStage": {
                "stage": "limit",
                "planNodeId": 2,
                "nReturned": 6,
                "executionTimeMillisEstimate": 0,
                "opens": 6,
                "closes": 1,
                "saveState": 1,
                "restoreState": 1,
                "isEOF": 1,
                "limit": 1,
                "inputStage": {
                  "stage": "seek",
                  "planNodeId": 2,
                  "nReturned": 6,
                  "executionTimeMillisEstimate": 0,
                  "opens": 6,
                  "closes": 1,
                  "saveState": 1,
                  "restoreState": 1,
                  "isEOF": 0,
                  "numReads": 6,
                  "recordSlot": 25,
                  "recordIdSlot": 26,
                  "seekKeySlot": 9,
                  "snapshotIdSlot": 5,
                  "indexIdSlot": 6,
                  "indexKeySlot": 7,
                  "indexKeyPatternSlot": 8,
                  "fields": [],
                  "outputSlots": []
                }
              }
            }
          },
          "allPlansExecution": []
        }
      },
      "nReturned": 6,
      "executionTimeMillisEstimate": 0
    },
    {
      "$unwind": {
        "path": "$noun",
        "preserveNullAndEmptyArrays": true
      },
      "nReturned": 6,
      "executionTimeMillisEstimate": 0
    },
    {
      "$limit": 6,
      "nReturned": 6,
      "executionTimeMillisEstimate": 0
    }
  ],
  "serverInfo": {
    "host": "M-C02DR0F9ML85.local",
    "port": 27017,
    "version": "5.3.0-rc3",
    "gitVersion": "cf6ac4d17da6eb6562f503a515ea6aea2ccbf944"
  },
  "serverParameters": {
    "internalQueryFacetBufferSizeBytes": 104857600,
    "internalQueryFacetMaxOutputDocSizeBytes": 104857600,
    "internalLookupStageIntermediateDocumentMaxSizeBytes": 104857600,
    "internalDocumentSourceGroupMaxMemoryBytes": 104857600,
    "internalQueryMaxBlockingSortMemoryUsageBytes": 104857600,
    "internalQueryProhibitBlockingMergeOnMongoS": 0,
    "internalQueryMaxAddToSetBytes": 104857600,
    "internalDocumentSourceSetWindowFieldsMaxMemoryBytes": 104857600
  },
  "command": {
    "aggregate": "faker_hacker",
    "pipeline": [
      {
        "$match": {
          "abbreviation": {
            "$regularExpression": {
              "pattern": "png",
              "options": "i"
            }
          }
        }
      },
      {
        "$unwind": {
          "path": "$noun",
          "preserveNullAndEmptyArrays": true
        }
      },
      {
        "$limit": 6
      }
    ],
    "allowDiskUse": true,
    "cursor": {},
    "maxTimeMS": 60000,
    "$db": "bigDB"
  },
  "ok": 1
}
