Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8104

knnVector atlas search template missing `name` field

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.43.5
    • Component/s: Indexes
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Developer Tools

      If a user isn't on a new enough MongoDB version they don't have access to the vector search capabilities and instead can use knnVector with atlas search. 
      https://www.mongodb.com/docs/atlas/atlas-search/field-types/knn-vector/#configure-fts-field-type-field-properties 
      We should update the template to add the name field so it's easier to use.
      https://github.com/mongodb-js/devtools-shared/blob/ed20385d782d31745f9ad69fc961459bac019657/packages/mongodb-constants/src/atlas-search-templates.ts#L106 

      > The Atlas Search knnVector field type and knnBeta operator are now deprecated. Instead, we recommend that you use the vectorSearch index type and $vectorSearch pipeline stage. To learn more, see Perform Vector Search.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: