uschindler commented on code in PR #13401: URL: https://github.com/apache/lucene/pull/13401#discussion_r1611253555
########## lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseFieldInfoFormatTestCase.java: ########## @@ -328,6 +332,17 @@ private int getVectorsMaxDimensions(String fieldName) { return Codec.getDefault().knnVectorsFormat().getMaxDimensions(fieldName); } + private VectorSimilarityFunction randomSimilarity() { Review Comment: Implement it like this for codecs: https://github.com/apache/lucene/blob/05f04aa08a4fcd828b92eeeb61f55d8ba18cab53/lucene/core/src/java/org/apache/lucene/codecs/Codec.java#L121-L124 -- 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