bleve: github.com/blevesearch/bleve/analysis/token/truncate Index | Files

package truncate

import "github.com/blevesearch/bleve/analysis/token/truncate"

Index

Package Files

truncate.go

Constants

const Name = "truncate_token"

func TruncateTokenFilterConstructor Uses

func TruncateTokenFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.TokenFilter, error)

type TruncateTokenFilter Uses

type TruncateTokenFilter struct {
    // contains filtered or unexported fields
}

func NewTruncateTokenFilter Uses

func NewTruncateTokenFilter(length int) *TruncateTokenFilter

func (*TruncateTokenFilter) Filter Uses

func (s *TruncateTokenFilter) Filter(input analysis.TokenStream) analysis.TokenStream

Package truncate imports 4 packages (graph) and is imported by 13 packages. Updated 2016-10-02. Refresh now. Tools for package owners.