Versions in this module Expand all Collapse all v2 v2.4.3 May 11, 2022 v2.4.2 May 11, 2022 v2.4.1 May 11, 2022 v2.4.0 May 11, 2022 Changes in this version + var ErrInvalidDateTime = fmt.Errorf("unable to parse datetime with any of the layouts") + func BuildTermFromRunes(runes []rune) []byte + func BuildTermFromRunesOptimistic(buf []byte, runes []rune) []byte + func DeleteRune(in []rune, pos int) []rune + func InsertRune(in []rune, pos int, r rune) []rune + func RunesEndsWith(input []rune, suffix string) bool + func TokenFrequency(tokens TokenStream, arrayPositions []uint64, ...) index.TokenFrequencies + func TruncateRunes(input []byte, num int) []byte + type Analyzer struct + CharFilters []CharFilter + TokenFilters []TokenFilter + Tokenizer Tokenizer + func (a *Analyzer) Analyze(input []byte) TokenStream + type ByteArrayConverter interface + Convert func([]byte) (interface{}, error) + type CharFilter interface + Filter func([]byte) []byte + type DateTimeParser interface + ParseDateTime func(string) (time.Time, error) + type Token struct + End int + KeyWord bool + Position int + Start int + Term []byte + Type TokenType + func (t *Token) String() string + type TokenFilter interface + Filter func(TokenStream) TokenStream + type TokenMap map[string]bool + func NewTokenMap() TokenMap + func (t TokenMap) AddToken(token string) + func (t TokenMap) LoadBytes(data []byte) error + func (t TokenMap) LoadFile(filename string) error + func (t TokenMap) LoadLine(line string) + type TokenStream []*Token + type TokenType int + const AlphaNumeric + const Boolean + const DateTime + const Double + const IP + const Ideographic + const Numeric + const Shingle + const Single + type Tokenizer interface + Tokenize func([]byte) TokenStream Other modules containing this package github.com/ltraniello/bleve