-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2023-09-18
$search and $searchMeta queries should be serialized as a constant. This is already the case for $search, where
{ $search: { query: "cakes" path: "title" } }
results in the respective key outputted from $queryStats:
{
$search: "?obj"
}
This is not the case currently for $searchMeta and this ticket will implement correct serialization for $searchMeta for purposes of queryStats.
This ticket should also address adding test coverage for $search and $searchMeta queries in an environment where $queryStats is enabled.
- is depended on by
-
SERVER-85075 Tracking: Milestone 2
- Closed
- related to
-
SERVER-81124 Complete TODO listed in SERVER-76087
- Closed
-
SERVER-82098 Complete TODO listed in SERVER-76087
- Closed