Find and Distinct commands may be called on views, where the commands are translated into Aggregation commands, as well as aggregate commands can also involve views.
Query settings needs to be applied to this sort of queries.
As part of this patch we need to remove "Index hint namespace refer to the collection namespaces involved in the query" validation rule, since it no longer makes sense when processing queries on views
- related to
-
SERVER-86996 Apply QuerySettings for timeseries collection queries
- Closed
-
SERVER-87275 Ensure namespace is always provided when specifying query settings index hints
- Closed