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

Add new $_internalIndexKey agg expression

    • Fully Compatible
    • QE 2022-12-12, QE 2022-12-26, QE 2023-01-09
    • 10

      Takes in a document, outputs an array of new objects that have their values converted into their index representation. Any fields in the input document not included in the "key" spec will be stripped in the output. If the index value contains a multikey index entry, then the output array will contain multiple documents, otherwise it will only contain one document. This expression should also be exempted from the 100MB limit.

       

      Field description
      doc input document
      spec index key spec (format is similar to createIndex)

            Assignee:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: