k-NN icon indicating copy to clipboard operation
k-NN copied to clipboard

[FEATURE]Remove double converting from byte[] to float[], and float[] to byte[] for script scoring with binary vector

Open heemin32 opened this issue 7 months ago • 4 comments

In https://github.com/opensearch-project/k-NN/pull/1826 which support script scoring on knn binary vector, we convert byte[] to float[] and again float[] to byte[] which will add a latency during query using script scoring on knn binary vector. We want to avoid the unnecessary converting.

heemin32 avatar Jul 15 '24 19:07 heemin32