[SERVER-79440] Reduce duplicate code for setting mongot mock responses for $vectorSearch Created: 27/Jul/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: Improvement 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:
Related
is related to SERVER-78291 Ensure test coverage parity with $search Closed
Backwards Compatibility: Fully Compatible
Sprint: QI 2023-08-07
Participants:

 Description   

Refactor the jstests to reduce the duplicate code in the jstests. For example, in jstests/vector_search/vector_search_auth_required.js, there's a function testSimpleVectorSearchQuery to be moved into utils.

  1. set up mongod/a cluster + mongot in some configuration
  2. set up basic mongot response
  3. run basic $vectorSearch query, make sure results are expected

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