-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
As a user I want to use FAISS's HNSW for cosine similarity too with OpenSearchDocumentStore.
According to https://opensearch.org/docs/latest/search-plugins/knn/knn-index/ FAISS plug-in only supports dot product and l2. So we have to normalize vectors before indexing/searching.
- normalize vectors manually at index time
- normalize vectors manually at query time
- use dot_product space under the hood
Reactions are currently unavailable