File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
server/src/test/java/org/elasticsearch/index/mapper/vectors Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2894,14 +2894,14 @@ public void testKnnBBQHNSWVectorsFormat() throws IOException {
2894
2894
assertThat (codec , instanceOf (LegacyPerFieldMapperCodec .class ));
2895
2895
knnVectorsFormat = ((LegacyPerFieldMapperCodec ) codec ).getKnnVectorsFormatForField ("field" );
2896
2896
}
2897
- String expectedString = "ES93HnswBinaryQuantizedVectorsFormat (name=ES93HnswBinaryQuantizedVectorsFormat , maxConn="
2897
+ String expectedString = "ES818HnswBinaryQuantizedVectorsFormat (name=ES818HnswBinaryQuantizedVectorsFormat , maxConn="
2898
2898
+ m
2899
2899
+ ", beamWidth="
2900
2900
+ efConstruction
2901
- + ", writeFlatVectorFormat=ES93BinaryQuantizedVectorsFormat ("
2902
- + "name=ES93BinaryQuantizedVectorsFormat , "
2903
- + "flatVectorScorer=ES818BinaryFlatVectorsScorer(nonQuantizedDelegate=DefaultFlatVectorScorer" ;
2904
- assertThat ( knnVectorsFormat .toString (), startsWith ( expectedString ));
2901
+ + ", flatVectorFormat=ES818BinaryQuantizedVectorsFormat ("
2902
+ + "name=ES818BinaryQuantizedVectorsFormat , "
2903
+ + "flatVectorScorer=ES818BinaryFlatVectorsScorer(nonQuantizedDelegate=DefaultFlatVectorScorer()))) " ;
2904
+ assertEquals ( expectedString , knnVectorsFormat .toString ());
2905
2905
}
2906
2906
2907
2907
public void testKnnBBQIVFVectorsFormat () throws IOException {
You can’t perform that action at this time.
0 commit comments