edge_ngram_filter

package
Version: v0.0.0-...-f7698f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "edge_ngram"

Variables

This section is empty.

Functions

func EdgeNgramFilterConstructor

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

Types

type EdgeNgramFilter

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

func NewEdgeNgramFilter

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

func (*EdgeNgramFilter) Filter

type Side

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL