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

package edgengram

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

Index

Package Files

edgengram.go

Constants

const Name = "edge_ngram"

func EdgeNgramFilterConstructor Uses

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

type EdgeNgramFilter Uses

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

func NewEdgeNgramFilter Uses

func NewEdgeNgramFilter(side Side, minLength, maxLength int) *EdgeNgramFilter

func (*EdgeNgramFilter) Filter Uses

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

type Side Uses

type Side bool
const BACK Side = true
const FRONT Side = false

Package edgengram imports 5 packages (graph) and is imported by 15 packages. Updated 2018-01-29. Refresh now. Tools for package owners.