[SERVER-78332] Add limit after merging shards for $vectorSearch Created: 22/Jun/23  Updated: 29/Oct/23  Resolved: 04/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Alyssa Clark Assignee: Hima Sheth (Inactive)
Resolution: Fixed Votes: 0
Labels: pm3294-m2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-78287 Ensure correct number of documents ar... Closed
is depended on by SERVER-79249 Add tests for $vectorSearch on an uns... Closed
Duplicate
is duplicated by SERVER-78287 Ensure correct number of documents ar... Closed
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-07-24, QI 2023-08-07, QI 2023-08-21
Participants:

 Description   

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.


Generated at Thu Feb 08 06:38:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.