This ticket tracks the work contained in Pull Request #1291.
We added these expressions:
'$cossim', '$chi2', '$euclidean', '$squared_euclidean', '$manhattan'
Which allow us to compare long vectors (image features) stored as arrays or BSON.
It is useful to find the most similar images in a dataset. The usage is the following:
In addition implementations using avx2 and avx512 are included in this pull request.