-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
$text requires a text index which is not possible for timeseries collections. On mongod we correctly check to see if a text index exists in the collection and correctly raise an error that a text index doesn't exist for timeseries collections. We raise this error when constructing a text match expression here. However, on mongos we do not validate the index exists and create a TextNoOpMatchExpression. For sharded collections viewless timeseries we never construct a real text match expression and therefore never check if the index exists, which is incorrect.
After this ticket, we should be able to enable timeseries_text_geo_near_disallowed.js in the viewless timeseries suites.