Skip to content

Commit c6b0ffe

Browse files
added changes
1 parent e2329bf commit c6b0ffe

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

schema/parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func parseTokenOrVectorIndexSpec(
306306
tokenizer, has := tok.GetTokenizer(tokenOrFactoryName)
307307
if !has {
308308
return tokenOrFactoryName, nil, false,
309-
next.Errorf("Invalid tokenizer %s", next.Val)
309+
next.Errorf("Invalid tokenizer 1 %s", next.Val)
310310
}
311311
tokenizerType, ok := types.TypeForName(tokenizer.Type())
312312
x.AssertTrue(ok) // Type is validated during tokenizer loading.

tok/tok.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package tok
77

88
import (
99
"encoding/binary"
10+
"fmt"
1011
"math/big"
1112
"plugin"
1213
"strings"
@@ -156,6 +157,7 @@ func GetTokenizer(name string) (Tokenizer, bool) {
156157

157158
// GetIndexFactory returns IndexFactory given name.
158159
func GetIndexFactory(name string) (IndexFactory, bool) {
160+
fmt.Println("HERE GET INDEX FACTORY", indexFactories)
159161
f, found := indexFactories[name]
160162
return f, found
161163
}

0 commit comments

Comments
 (0)