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

cannot get covered query with $expr with $eq only

    • Query Optimization
    • QO 2024-02-05, QO 2024-02-19, QO 2024-03-04, QO 2024-03-18

      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.

            Assignee:
            milena.ivanova@mongodb.com Milena Ivanova
            Reporter:
            miguel.nieto@mongodb.com Miguel Ángel Nieto
            Votes:
            5 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated: