Estimate the cardinality of TextMatchNode QSNs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Compute CE of TextMatchNode QSNs (StageType STAGE_TEXT_MATCH). Also consider STAGE_TEXT_OR.

      Test cases:

       

      coll.createIndex('txt': 'text');
      coll.createIndex({txt:1});
      
      {$text: {$search: 'text_9_5'}},
      {a: 42, $text: {$search: 'text_1_1'}},
      

       

              Assignee:
              Unassigned
              Reporter:
              Timour Katchaounov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: