-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Execution Team 2021-08-23
A multikey index will use the time-series buckets non-positional min and max data to build the index. The same indexes will be created as described in the ascending and descending indexes ticket. This works well for non-positional queries such as db.multi.find({data: 5}) or db.multi.find({data: {$gt: 9}}). For positional queries such as db.multi.find({data: [5]}) or db.multi.find({data: [5, 9]}), the non-positional min and max data can be computed from the query. The indexes can then be used to find the time-series buckets that satisfy the min and max range of the query. Any time-series buckets that match this criterion will need to have their measurements looked over for matches.
- related to
-
SERVER-58057 Support ascending and descending indexes on time-series measurements
- Closed
-
SERVER-59305 Reject timeseries measurements with array values in indexed fields
- Closed