thecoop opened a new issue, #15408: URL: https://github.com/apache/lucene/issues/15408
### Description We've found a bug in `Lucene104ScalarQuantizedVectorFormat` where the scorer is returning different documents scores after merging segments together. The test case can be found [here](https://github.com/thecoop/lucene/blob/scalar-quantizer-merge-bug/lucene/core/src/test/org/apache/lucene/codecs/lucene104/TestLucene104ScalarQuantizedVectorsFormat.java#L79) (on `branch_10x`) Before merge, docs returned and scores are: `{1=6.082725012674928E-4, 2=1.0}` After merge, docs returned and scores are: `{0=3.581063720048405E-5, 1=6.144083454273641E-4}` Both the top docs and the scores returned are different. This only occurs with the `PACKED_NIBBLE` encoding. ### Version and environment details Reproduces on `main` and `branch_10x` -- 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]
