ChrisHegarty opened a new pull request, #13355: URL: https://github.com/apache/lucene/pull/13355
This commit fixes an in issue in the default flat vector scorer supplier whereby subsequent scorers created by the supplier can affect previously created scorers. The issue is that we're sharing the backing array from the vector values, and overwriting it in subsequent scorers. We just need to copy the array to protect the scorer instance from mutation. The test is a little verbose, but duplicates the issue and is extended in another PR to cover more flat vector scorer implementations. -- 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