Pulkitg64 commented on PR #13308: URL: https://github.com/apache/lucene/pull/13308#issuecomment-2057777980
`TestInt8HnswBackwardsCompatibility.java` and `TestBasicBackwardsCompatibility` test cases failing for Lucene versions older than `LUCENE_10_0_0`. For older Lucene version, we try to read Index `directory` from resources folder. For example for Lucene-9.10.0, the directory path is located at `lucene/backward-codecs/build/resources/test/org/apache/lucene/backward_index/int8_hnsw.9.10.0.zip`. As per my understanding the segment present at above directory already has `KNNVectorField` with MAXIMUM_INNER_PRODUCT as vector similarity function and in above test we try to change similarity function to `DOT_PRODUCT` due to which there is conflict happening when adding more docs to it and hence these test cases failing. -- 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