-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
A helper function will be added to reduce repetition in the kickback logic.
// search_helpers.cpp void throwIfrKickbackIfNecessary(StringData stageName, std::function<bool(std::string)> predicate, const IncrementalRolloutFeatureFlag& flag, Counter64& metric, std::string errorMsg) { if (predicate(stageName)) { metric.increment(); uassertStatusOK( Status(IFRFlagRetryInfo(flag.getName()), errorMsg)); } }
The existing $vectorSearch kickbacks for views, $unionWith, and hybrid search should be modified to use this helper. This is a refactor so testing is already accomplished with the existing $vectorSearch kickback tests.
- depends on
-
SERVER-122426 Update/add kickback helper functions
-
- Closed
-
- is depended on by
-
SERVER-122432 Add extension $search on view kickback
-
- Backlog
-
-
SERVER-122433 Add extension $search in $lookup kickback
-
- Backlog
-
-
SERVER-122430 Add extension $search in $unionWith kickback
-
- In Progress
-