-
Type: Bug
-
Resolution: Unresolved
-
Priority: 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.