jtibshirani opened a new issue, #11758: URL: https://github.com/apache/lucene/issues/11758
### Description This issue tracks ideas for refactors as a follow-up to #11613, where we added support for 8-bit vector values: * We extended `KnnVectorsWriter` to be generic, accepting both `float[]` and `BytesRef` values. It'd be good to explore simplifying the write API to remove these generics. * We now switch on `VectorEncoding` in several places during graph building and search. Is there a way to encapsulate this better? Maybe there could be a helper class that knows the encoding and can perform distance computations, so that `HnswGraphBuilder` and `HnswGraphSearcher` don't need to know about the encoding. -- 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.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