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

Extend wildcardProjection to support compound wildcard indexes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QO 2023-01-23

      This should allow specifying ‘wildcardProjection’ when creating a compound wildcard index, which includes:

      1. validating the ‘wildcardProjection’ option (e.g. wildcardProjection should only ever be specified if the wildcard field is “$**” and should exclude all overlapping fields)

      2. Extend support in which cases ‘wildcardProjection’ is used:

          a) The Index indexability/discriminators encoding for Plan cache keys 

          b) Planner params fill-out process. 

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: