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

$expr cannot use a multikey index

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

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

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 23 weeks, 1 day ago