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

Support sparse indexes on time-series measurements

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-08-09

    Description

      When building an index with theĀ  { sparse : true } option, only documents that have the indexed field present will have any index entries, even if the indexed field contains a null.

      If a time-series buckets control field contains information about the indexed field, then at least one measurement contains the indexed field and the bucket will be indexed. Vice-versa, if no measurements contain the indexed field, then there will be no information in the control field and the bucket will not be indexed.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: