navneet1v commented on issue #14175: URL: https://github.com/apache/lucene/issues/14175#issuecomment-2650199394
@ChrisHegarty I did some debugging on this failed test and what I found is for the particular see the Lucene99ScalarQuantizedVectorsFormat is getting picked from a list of formats which gets created here (https://github.com/apache/lucene/blob/6b0112cdee284cae9143402d7dd80fdaf4d22f93/lucene/test-framework/src/java/org/apache/lucene/tests/index/RandomCodec.java#L267). Now due to this Quantized format, scores of 0th doc and 2nd doc becomes same causing the failure, as it is not guaranteed which doc will come first. Code ref: https://github.com/apache/lucene/blob/6b0112cdee284cae9143402d7dd80fdaf4d22f93/lucene/test-framework/src/java/org/apache/lucene/tests/index/RandomCodec.java#L210-L219 One way I think we can fix this is rather than checking the order of docs, we should compare if all the docs we expect are present or not. -- 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