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

Method IsSortable

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

IsSortable returns true if the tokenizer can be used for sorting/ordering.

()

Source from the content-addressed store, hash-verified

74
75 // IsSortable returns true if the tokenizer can be used for sorting/ordering.
76 IsSortable() bool
77
78 // IsLossy returns true if we don't store the values directly as index keys
79 // during tokenization. If a predicate is tokenized using an IsLossy() tokenizer,

Callers 4

sortWithIndexFunction · 0.65
pickTokenizerFunction · 0.65
resolveTokenizersFunction · 0.65

Implementers 15

GeoTokenizertok/tok.go
IntTokenizertok/tok.go
FloatTokenizertok/tok.go
YearTokenizertok/tok.go
MonthTokenizertok/tok.go
DayTokenizertok/tok.go
HourTokenizertok/tok.go
TermTokenizertok/tok.go
ExactTokenizertok/tok.go
NGramTokenizertok/tok.go

Calls

no outgoing calls

Tested by

no test coverage detected