Pipelines with text search queries should be eligible for being optimized away

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • Query 2019-12-16, Query 2019-12-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a follow on ticket for SERVER-24860. We currently cannot optimize away a pipeline if it contains a text search query, as the optimized query plan includes an extra $textScore field. We should investigate it and enable the optimization for such pipelines.

              Assignee:
              David Storch
              Reporter:
              Anton Korshunov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: