javanna opened a new pull request, #12102: URL: https://github.com/apache/lucene/pull/12102
The main goal of this PR is to replace `BytesRef` usages across the byte vectors API. The main classes involved are `ByteVectorValues`, `KnnByteVectorField` and `KnnByteVectorQuery`. It becomes quite natural to simplify things further and use `byte[]` in the following methods too: - `ByteVectorValues#vectorValue` - `KnnVectorSearch#search` - `LeafReader#searchNearestVectors` - `HNSWGraphSearcher#search` - `VectorSimilarityFunction#compare` - `VectorUtil#cosine` - `VectorUtil#squareDistance` - `VectorUtil#dotProduct` - `VectorUtil#dotProductScore` -- 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