We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441a86f commit e2329bfCopy full SHA for e2329bf
1 file changed
tok/tok.go
@@ -21,6 +21,7 @@ import (
21
"github.com/hypermodeinc/dgraph/v25/protos/pb"
22
"github.com/hypermodeinc/dgraph/v25/tok/hnsw"
23
opts "github.com/hypermodeinc/dgraph/v25/tok/options"
24
+ "github.com/hypermodeinc/dgraph/v25/tok/partitioned_hnsw"
25
"github.com/hypermodeinc/dgraph/v25/types"
26
"github.com/hypermodeinc/dgraph/v25/x"
27
)
@@ -85,6 +86,7 @@ var indexFactories = make(map[string]IndexFactory)
85
86
func init() {
87
registerTokenizer(BigFloatTokenizer{})
88
registerIndexFactory(createIndexFactory(hnsw.CreateFactory[float32](32)))
89
+ registerIndexFactory(createIndexFactory(partitioned_hnsw.CreateFactory[float32](32)))
90
registerTokenizer(GeoTokenizer{})
91
registerTokenizer(IntTokenizer{})
92
registerTokenizer(FloatTokenizer{})
0 commit comments