Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11997

$expr cannot use a multikey index

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      None

      ----------------------------

      Original Description

      This came up in a ticket recently - we should document somewhere (preferably in tboth the $expr and multikey index documentation) that this doesn't work with a multikey index.
      ----------------------------

      Description

      Add context that $expr doesn't work with multikey indexes.

      Scope of changes (files that need work and how much)

      https://docs.mongodb.com/manual/reference/operator/query/expr/index.html

      https://docs.mongodb.com/manual/core/index-multikey/index.html

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            nick.brewer Nick Brewer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 33 weeks, 3 days ago