querystr

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 10

README

query_string

An adaptation of the class Bleve query string functionality for Bluge.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQueryString

func ParseQueryString(query string, options QueryStringOptions) (rq bluge.Query, err error)

Types

type QueryStringOptions

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

func DefaultOptions

func DefaultOptions() QueryStringOptions

func (QueryStringOptions) WithAnalyzerForField added in v0.2.0

func (o QueryStringOptions) WithAnalyzerForField(field string, analyzer *analysis.Analyzer) QueryStringOptions

func (QueryStringOptions) WithDateFormat

func (o QueryStringOptions) WithDateFormat(dateFormat string) QueryStringOptions

func (QueryStringOptions) WithDebugAnalyzer added in v0.2.0

func (o QueryStringOptions) WithDebugAnalyzer(debug bool) QueryStringOptions

func (QueryStringOptions) WithDebugLexer

func (o QueryStringOptions) WithDebugLexer(debug bool) QueryStringOptions

func (QueryStringOptions) WithDebugParser

func (o QueryStringOptions) WithDebugParser(debug bool) QueryStringOptions

func (QueryStringOptions) WithDefaultAnalyzer added in v0.2.0

func (o QueryStringOptions) WithDefaultAnalyzer(analyzer *analysis.Analyzer) QueryStringOptions

func (QueryStringOptions) WithLogger

func (o QueryStringOptions) WithLogger(logger *log.Logger) QueryStringOptions

Jump to

Keyboard shortcuts

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