analysis

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: Apache-2.0 Imports: 37 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryAnalyzer

func QueryAnalyzer(data map[string]*analysis.Analyzer, name string) (*analysis.Analyzer, error)

func QueryAnalyzerForField

func QueryAnalyzerForField(data map[string]*analysis.Analyzer, mappings *meta.Mappings, field string) (*analysis.Analyzer, *analysis.Analyzer)

QueryAnalyzerForField returns the analyzer and searchAnalyzer for the given field.

func RequestAnalyzer

func RequestAnalyzer(data *meta.IndexAnalysis) (map[string]*analysis.Analyzer, error)

func RequestCharFilter

func RequestCharFilter(data map[string]interface{}) (map[string]analysis.CharFilter, error)

func RequestCharFilterSingle

func RequestCharFilterSingle(name string, options interface{}) (analysis.CharFilter, error)

func RequestCharFilterSlice

func RequestCharFilterSlice(data []interface{}) ([]analysis.CharFilter, error)

func RequestTokenFilter

func RequestTokenFilter(data map[string]interface{}) (map[string]analysis.TokenFilter, error)

func RequestTokenFilterSingle

func RequestTokenFilterSingle(name string, options interface{}) (analysis.TokenFilter, error)

func RequestTokenFilterSlice

func RequestTokenFilterSlice(data []interface{}) ([]analysis.TokenFilter, error)

func RequestTokenizer

func RequestTokenizer(data map[string]interface{}) (map[string]analysis.Tokenizer, error)

func RequestTokenizerSingle

func RequestTokenizerSingle(name string, options interface{}) (analysis.Tokenizer, error)

func RequestTokenizerSlice

func RequestTokenizerSlice(data []interface{}) ([]analysis.Tokenizer, error)

Types

This section is empty.

Directories

Path Synopsis
internal
testutil
Package testutil holds helpers shared by the analysis test packages.
Package testutil holds helpers shared by the analysis test packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL