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

Support index on a single metadata field in a time-series collection

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2021-03-08

      A createIndexes command with a single metadata field:
      {
          createIndexes: 'abc',
    indexes: [
              

      { 'mm.tag1': 1 }

          ]
}

      will be equivalent to the follow operation on the underlying buckets collection:
      {
          createIndexes: 'system.buckets.abc',
    indexes: [
              

      { 'meta.tag1': 1 }

          ]
}
      
By definition, the metadata field in the bucket collection is always named meta.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: