Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38138

$expr doesn't use indexes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 4.0.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      $expr doesn't use indexes at all with any expression, except with $eq and this happened after it was issued https://jira.mongodb.org/browse/SERVER-33364

      My issue specifically with $in, neither in $lookup nor in find() it uses indexes even on _id field

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daniel.hatcher Danny Hatcher (Inactive)
              Reporter:
              hawkkero6000@gmail.com Hawk Kero
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: