_ID index is using $in

_ID index is using $in to query multiple documents for explain analysis. The number of scanned indexes is more than that of scanned documents

Please provide more details to help investigate your issue:

  • specific MongoDB server version
  • deployment type (standalone, replica set, or sharded cluster)
  • output of this query using explain("allPlansExecution")