Create walker-based implementation of matches()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-01-20, QE 2025-02-03
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Alberto Massari
            Reporter:
            Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: