Add limit after merging shards for $vectorSearch

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • QI 2023-07-24, QI 2023-08-07, QI 2023-08-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We need to add a {limit: k} stage with the kNN 'k' argument after the merging happens when $knn is run in a sharded cluster. See this design section for details.

            Assignee:
            Hima Sheth (Inactive)
            Reporter:
            Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: