Apply the $sort-after-$vectorSearch optimization to the extension $vectorSearch stage

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the with_mongot_extension_* suites (SERVER-130648), sort_after_vector_search_optimization.js fails: '$sort' does exist in the pipeline after $search -- the optimization that elides/absorbs the $sort after $vectorSearch is not applied when $vectorSearch is provided by the mongot-extension.

      The affected test is excluded in buildscripts/resmokeconfig/matrix_suites/overrides/with_mongot_extension.yml; grep this ticket number to find it.

      Repro: buildscripts/resmoke.py run --suites=with_mongot_extension_single_node --force-excluded-tests jstests/with_mongot/e2e/hybridSearch/sort_after_vector_search_optimization.js

            Assignee:
            Adithi Raghavan
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: