OpenSearch/x-pack/plugin/vectors
Julie Tibshirani d94c4dcffb Use float instead of double for query vectors. (#46004)
Currently, when using script_score functions like cosineSimilarity, the query
vector is treated as an array of doubles. Since the stored document vectors use
floats, it seems like the least surprising behavior for the query vectors to
also be float arrays.

In addition to improving consistency, this change may help with some
optimizations we have been considering around vector dot product.
2019-08-28 11:03:14 -07:00
..
src Use float instead of double for query vectors. (#46004) 2019-08-28 11:03:14 -07:00
build.gradle Fix eclipse build gradle for vectors project 2019-06-24 09:22:48 -04:00