-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We should not be able to run the any search index command on viewless timeseries collections, which includes createSearchIndex, updateSearchIndex, and dropSearchIndex. For viewful timeseries collections, we fail createSearchIndex when validating if the view definition can be inside a search index. We do not have this validation for viewless timeseries collections, and therefore when we try to create a search index for viewless timeseries collections we time out because the index cannot be made.
The rest of the search index commands succeed and do nothing for viewful timeseries collections. However, we will change the behavior and make the commands fail on timeseries collections.
The only exception is the listSearchIndex command. listSearchIndexes does not fail for timeseries collections because support for adding this was hard (see SERVER-109094). I think we should make the command match the aggregation stage, so listSearchIndexes command can return an empty list for timeseries collections.
- is related to
-
SERVER-105573 Add stage constraint to block stages from running on timeseries
-
- Closed
-
-
SERVER-109094 $listSearchIndexes stage should error if run on a timeseries collection
-
- Closed
-
- related to
-
SERVER-110353 'listCollections' command "type" field does not return "timeseries" inside $listSearchIndexes handler on sharded collections for viewless timeseries
-
- Open
-