Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79440

Reduce duplicate code for setting mongot mock responses for $vectorSearch

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QI 2023-08-07

      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

            Assignee:
            chii.huang@mongodb.com Chi-I Huang
            Reporter:
            chii.huang@mongodb.com Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: