Skip to content

Commit 3a09c7e

Browse files
committed
changed naming
1 parent 6fba962 commit 3a09c7e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

vector.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const (
5959
IndexOptimizedForMemoryEfficient = "memory-efficient" // Flat or IVF,SQ4 indexes
6060
IndexBIVFWithBackingFlat = "bivf-flat" // BFlat or BIVF with Flat backing index
6161
IndexBIVFWithBackingSQ8 = "bivf-sq8" // BFlat or BIVF with SQ8 backing index
62-
IndexOptimizedWithRaBitQ = "rabitq" // Flat or IVF,RaBitQ indexes
62+
IndexIVFRaBitQ = "ivf,rabitq" // Flat or IVF,RaBitQ indexes
6363
)
6464

6565
const DefaultIndexOptimization = IndexOptimizedForRecall
@@ -70,7 +70,7 @@ var SupportedVectorIndexOptimizations = map[string]int{
7070
IndexOptimizedForMemoryEfficient: 2,
7171
IndexBIVFWithBackingFlat: 3,
7272
IndexBIVFWithBackingSQ8: 4,
73-
IndexOptimizedWithRaBitQ: 5,
73+
IndexIVFRaBitQ: 5,
7474
}
7575

7676
// Reverse maps vector index optimizations': int -> string
@@ -80,7 +80,7 @@ var VectorIndexOptimizationsReverseLookup = map[int]string{
8080
2: IndexOptimizedForMemoryEfficient,
8181
3: IndexBIVFWithBackingFlat,
8282
4: IndexBIVFWithBackingSQ8,
83-
5: IndexOptimizedWithRaBitQ,
83+
5: IndexIVFRaBitQ,
8484
}
8585

8686
func OptimizationRequiresBinaryIndex(optimization string) bool {

0 commit comments

Comments
 (0)