Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Elasticsearch to dot_product similarity
With our normalized vectors, the score should be exactly the same as "cosine", but we don't force Elasticsearch to normalize vectors at query time. Which is similar to what our prenormalized-angular does: effectively orders by cosine similarity, assuming vectors are normalized.
- Loading branch information