Skip to content

Commit e2329bf

Browse files
added changes
1 parent 441a86f commit e2329bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tok/tok.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"github.com/hypermodeinc/dgraph/v25/protos/pb"
2222
"github.com/hypermodeinc/dgraph/v25/tok/hnsw"
2323
opts "github.com/hypermodeinc/dgraph/v25/tok/options"
24+
"github.com/hypermodeinc/dgraph/v25/tok/partitioned_hnsw"
2425
"github.com/hypermodeinc/dgraph/v25/types"
2526
"github.com/hypermodeinc/dgraph/v25/x"
2627
)
@@ -85,6 +86,7 @@ var indexFactories = make(map[string]IndexFactory)
8586
func init() {
8687
registerTokenizer(BigFloatTokenizer{})
8788
registerIndexFactory(createIndexFactory(hnsw.CreateFactory[float32](32)))
89+
registerIndexFactory(createIndexFactory(partitioned_hnsw.CreateFactory[float32](32)))
8890
registerTokenizer(GeoTokenizer{})
8991
registerTokenizer(IntTokenizer{})
9092
registerTokenizer(FloatTokenizer{})

0 commit comments

Comments
 (0)