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

Investigate if we can cover array queries on non-multikey index

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      If we have a query of the form

      {a: [1, 2, 3]}

      when we have a non-multikey index, we should never return any documents. We should investigate if we can trust an INDEX_SCAN to evaluate this case without a fetch/filter.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: