-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
Fully Compatible
-
QE 2025-01-20, QE 2025-02-03
-
200
Create a visitor derived from MatchExpressionConstVisitor and define the callbacks for all the MatchExpression-derived classes that define matches:
- FTSMatcher
- AlwaysBooleanMatchExpression
- ExprMatchExpression
- InternalBucketGeoWithinMatchExpression
- InternalEqHashedKey
- PathMatchExpression
- AndMatchExpression
- OrMatchExpression
- NorMatchExpression
- NotMatchExpression
- WhereMatchExpression
- WhereNoOpMatchExpression
- Matcher
- InternalSchemaAllowedPropertiesMatchExpression
- InternalSchemaCondMatchExpression
- InternalSchemaMaxPropertiesMatchExpression
- InternalSchemaMinPropertiesMatchExpression
- InternalSchemaRootDocEqMatchExpression
- InternalSchemaXorMatchExpression
The source for the different callback should be placed in the same source file picked for SERVER-97136
- has to be done before
-
SERVER-97167 Change matches() to use walker-based implementation
- Closed
- is related to
-
SERVER-97168 Move helper functions matchesBSONElement and matchesBSON next to visitor implementation
- Closed
- related to
-
SERVER-97136 Create walker-based implementation of matchesSingleElement
- In Code Review