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

package unique

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

Index

Package Files

unique.go

Constants

const Name = "unique"

func UniqueTermFilterConstructor Uses

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

type UniqueTermFilter Uses

type UniqueTermFilter struct{}

UniqueTermFilter retains only the tokens which mark the first occurrence of a term. Tokens whose term appears in a preceding token are dropped.

func NewUniqueTermFilter Uses

func NewUniqueTermFilter() *UniqueTermFilter

func (*UniqueTermFilter) Filter Uses

func (f *UniqueTermFilter) Filter(input analysis.TokenStream) analysis.TokenStream

Package unique imports 2 packages (graph) and is imported by 1 packages. Updated 2018-06-19. Refresh now. Tools for package owners.