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

cannot get covered query with $expr with $eq only

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Querying
    • None

    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:
            8 Start watching this issue

            Dates

              Created:
              Updated: