MCPcopy
hub / github.com/dgraph-io/dgraph / GetTokenizer

Function GetTokenizer

tok/tok.go:165–168  ·  view source on GitHub ↗

GetTokenizer returns tokenizer given unique name.

(name string)

Source from the content-addressed store, hash-verified

163
164// GetTokenizer returns tokenizer given unique name.
165func GetTokenizer(name string) (Tokenizer, bool) {
166 t, found := tokenizers[name]
167 return t, found
168}
169
170// GetIndexFactory returns IndexFactory given name.
171func GetIndexFactory(name string) (IndexFactory, bool) {

Callers 15

addIndexMapEntriesMethod · 0.92
conflictKeysForNQuadMethod · 0.92
tokenizeValueFunction · 0.92
parseSrcFnFunction · 0.92
TokenizerMethod · 0.92
resolveTokenizersFunction · 0.92
TestFullTextTokenizerFunction · 0.85
TestHourTokenizerFunction · 0.85
TestDayTokenizerFunction · 0.85
TestMonthTokenizerFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestFullTextTokenizerFunction · 0.68
TestHourTokenizerFunction · 0.68
TestDayTokenizerFunction · 0.68
TestMonthTokenizerFunction · 0.68
TestDateTimeTokenizerFunction · 0.68
TestTermTokenizerFunction · 0.68
TestTrigramTokenizerFunction · 0.68