jtibshirani opened a new pull request #366: URL: https://github.com/apache/lucene/pull/366
This PR adds support for using cosine similarity with kNN vector fields. It takes a simple approach and doesn't attempt optimizations like normalizing the query vector in advance, or performing loop unrolling. The thinking is that users who prioritize efficiency can normalize all vectors in advance and use `VectorSimilarityFunction.DOT_PRODUCT`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org