[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: |
|
||||||||||||||||||||
| 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. |