[SERVER-79222] Ensure sharding test coverage for $vectorSearch Created: 22/Jul/23  Updated: 29/Oct/23  Resolved: 28/Jul/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: Chi-I Huang Assignee: Chi-I Huang
Resolution: Fixed Votes: 0
Labels: pm3294-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-78291 Ensure test coverage parity with $search Closed
Duplicate
is duplicated by SERVER-79249 Add tests for $vectorSearch on an uns... Closed
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-08-07
Participants:

 Description   

This is the sub-ticket focusing on test coverage parity with $search for sharding. A collection of tests to consider:

https://github.com/10gen/mongo-enterprise-modules/commit/c3336710dbf19fa61db3bc6dd7f004af66e6922d

Note that

  1. These tests were copied directly from jstests/search
    1. The tests from focusing on the features we don't support in $vectorSearch are excluded. For example,  $SearchMeta, stored source, limit pushdown, etc.
    2. There might be a few tests that can still be further excluded.
  2. We need to modify these tests to work for vector search. For example:
    1. Replace $search with $vectorSearch
    2. Change to mongot KNN command
    3. Remove the mocks for planShardedSearch

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