Skip to content

Commit 1add01b

Browse files
committed
Add suffix for index bits
1 parent 7496e6a commit 1add01b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qa/vector/src/main/java/org/elasticsearch/test/knn/KnnIndexTester.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ private static String formatIndexPath(CmdLineArgs args) {
7474
List<String> suffix = new ArrayList<>();
7575
if (args.indexType() == IndexType.FLAT) {
7676
suffix.add("flat");
77+
if (args.useNewFlatVectorsFormat()) {
78+
suffix.add(Integer.toString(args.quantizeBits()));
79+
}
7780
} else if (args.indexType() == IndexType.IVF) {
7881
suffix.add("ivf");
7982
suffix.add(Integer.toString(args.ivfClusterSize()));

0 commit comments

Comments
 (0)