Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2021-12-27, Execution Team 2022-01-10
Description
Currently, retrieving documents from a time-series collection using the find command and an index spec as a hint returns a BadValue exception as the index spec in the hint isn't translated to its corresponding buckets collection index spec. We currently only support indexes on the timeField and metaField for time-series collections, so we should allow queries with index spec as hints to work by translating the index spec in the hint to its buckets collection index spec. This helper function will be useful as it performs the index spec translation.
Attachments
Issue Links
- causes
-
SERVER-63902 Natural hints no longer work on TS collections when featureFlagTimeseriesMetricIndexes is enabled
-
- Closed
-
- is documented by
-
DOCS-15215 [Server] Investigate changes in SERVER-58716: Allow finds with hints using index spec on time-series collections
-
- Backlog
-