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

cannot get covered query with $expr with $eq only

    XMLWordPrintableJSON

Details

    • Query Optimization
    • QO 2024-02-05, QO 2024-02-19

    Description

      Hello,

      When using $expr, a query that should be covered by the index actually examine documents.

      Not only that, it searches for the values twice, once during the index scan and a second time during the fetch stage.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            miguel.nieto@mongodb.com Miguel Angel Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated: