Details
-
New Feature
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2021-07-12, Execution Team 2021-07-26, Execution Team 2021-08-09
Description
For ascending indexes, a createIndexes command on a time-series collection measurement field:
{
|
createIndexes: “abc”,
|
indexes: [ { key: { a : 1 } } ] |
}
|
will be equivalent to the following operation on the underlying buckets collection:
{
|
createIndexes: “system.buckets.abc”,
|
indexes: [ { key: { control.max.a : 1, control.min.a : 1 } } ] |
}
|
For descending indexes, a createIndexes command on a time-series collection measurement field:
{
|
createIndexes: “abc”,
|
indexes: [ { key: { a : -1 } } ] |
}
|
will be equivalent to the following operation on the underlying buckets collection:
{
|
createIndexes: “system.buckets.abc”,
|
indexes: [ { key: { control.min.a : -1, control.max.a : -1 } } ] |
}
|
Attachments
Issue Links
- is documented by
-
DOCS-14680 DOCS-14680 Investigate changes in SERVER-58057: Support ascending and descending indexes on time-series measurements
-
- Closed
-
- is related to
-
SERVER-58879 listIndexes() on a time-series view does not reverse map the measurement indexes from the buckets collection
-
- Closed
-
-
SERVER-58061 Support compound indexes on time-series metadata and measurements
-
- Closed
-
-
SERVER-58062 Support multikey indexes on time-series measurements
-
- Closed
-