Documentation ¶
Index ¶
- func ParseQueryString(query string, options QueryStringOptions) (rq bluge.Query, err error)
- type QueryStringOptions
- func (o QueryStringOptions) WithDateFormat(dateFormat string) QueryStringOptions
- func (o QueryStringOptions) WithDebugLexer(debug bool) QueryStringOptions
- func (o QueryStringOptions) WithDebugParser(debug bool) QueryStringOptions
- func (o QueryStringOptions) WithLogger(logger *log.Logger) QueryStringOptions
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) WithDateFormat ¶
func (o QueryStringOptions) WithDateFormat(dateFormat string) QueryStringOptions
func (QueryStringOptions) WithDebugLexer ¶
func (o QueryStringOptions) WithDebugLexer(debug bool) QueryStringOptions
func (QueryStringOptions) WithDebugParser ¶
func (o QueryStringOptions) WithDebugParser(debug bool) QueryStringOptions
func (QueryStringOptions) WithLogger ¶
func (o QueryStringOptions) WithLogger(logger *log.Logger) QueryStringOptions
Click to show internal directories.
Click to hide internal directories.