Skip to content

Commit 01f59f0

Browse files
authored
Add file extensions from IVFVectorsFormat (#128233)
Adding file extensions so they are open with the right directory implementation.
1 parent 01a9620 commit 01f59f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/src/main/java/org/elasticsearch/index/store/LuceneFilesExtensions.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ public enum LuceneFilesExtensions {
8383
VEMQ("vemq", "Scalar Quantized Vector Metadata", true, false),
8484
VEQ("veq", "Scalar Quantized Vector Data", false, true),
8585
VEMB("vemb", "Binarized Vector Metadata", true, false),
86-
VEB("veb", "Binarized Vector Data", false, true);
86+
VEB("veb", "Binarized Vector Data", false, true),
87+
// ivf vectors format
88+
MIVF("mivf", "IVF Metadata", true, false),
89+
CENIVF("cenivf", "IVF Centroid Data", false, true),
90+
CLIVF("clivf", "IVF Cluster Data", false, true);
8791

8892
/**
8993
* Allow plugin developers of custom codecs to opt out of the assertion in {@link #fromExtension}

0 commit comments

Comments
 (0)