bleve

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CustomerAnalyzerName = "space_search_analyzer"
View Source
const DbFileName = "filesIndex.bleve"

Variables

This section is empty.

Functions

func CustomAnalyzerConstructor

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

/ Customer Analyzer extends the standard analyzer by registering a regexp character filter

func NewSearchEngine

func NewSearchEngine(opts ...Option) *bleveFilesSearchEngine

Creates a new Bleve backed search engine for files and folders

Types

type Option

type Option func(o *bleveSearchOption)

func WithDBPath

func WithDBPath(path string) Option

Jump to

Keyboard shortcuts

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