iprithv opened a new pull request, #16098: URL: https://github.com/apache/lucene/pull/16098
PR #15751 added zero-vector validation in KnnByteVectorField and KnnFloatVectorField constructors when cosine similarity is configured. However, setVectorValue() was not covered, allowing users to bypass the check by creating a field with a valid vector and then mutating it to a zero vector. This can still lead to the same MergeAbortedException / CheckIndex failures described in #15540. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
