textquerytype

package
v0.1.1-20231031 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package textquerytype

Index

Constants

This section is empty.

Variables

View Source
var (
	Bestfields = TextQueryType{"best_fields"}

	Mostfields = TextQueryType{"most_fields"}

	Crossfields = TextQueryType{"cross_fields"}

	Phrase = TextQueryType{"phrase"}

	Phraseprefix = TextQueryType{"phrase_prefix"}

	Boolprefix = TextQueryType{"bool_prefix"}
)

Functions

This section is empty.

Types

type TextQueryType

type TextQueryType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/0f7969a4e10ecb4423057d4ad29744c4a7c3c67b/specification/_types/query_dsl/fulltext.ts#L541-L567

func (TextQueryType) MarshalText

func (t TextQueryType) MarshalText() (text []byte, err error)

func (TextQueryType) String

func (t TextQueryType) String() string

func (*TextQueryType) UnmarshalText

func (t *TextQueryType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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