Skip to content

Commit e37b831

Browse files
committed
Revert test
1 parent f27430e commit e37b831

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

server/src/test/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapperTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2894,14 +2894,14 @@ public void testKnnBBQHNSWVectorsFormat() throws IOException {
28942894
assertThat(codec, instanceOf(LegacyPerFieldMapperCodec.class));
28952895
knnVectorsFormat = ((LegacyPerFieldMapperCodec) codec).getKnnVectorsFormatForField("field");
28962896
}
2897-
String expectedString = "ES93HnswBinaryQuantizedVectorsFormat(name=ES93HnswBinaryQuantizedVectorsFormat, maxConn="
2897+
String expectedString = "ES818HnswBinaryQuantizedVectorsFormat(name=ES818HnswBinaryQuantizedVectorsFormat, maxConn="
28982898
+ m
28992899
+ ", beamWidth="
29002900
+ 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());
29052905
}
29062906

29072907
public void testKnnBBQIVFVectorsFormat() throws IOException {

0 commit comments

Comments
 (0)