Documentation ¶
Index ¶
- func AggCustom(agg Object) aggsType
- func AggMultiTerms() aggsType
- func AggTerm(field string) aggTermType
- func AggTerms() aggsType
- func Bool() boolType
- func Exists(key string) existsType
- func ExistsFunc(key string, f func(key string) bool) existsType
- func Match[T any](key string, query T) matchType
- func MatchAll() matchAllType
- func MatchNone[T any](key string, query T) matchNoneType
- func Nested[T any](path string, nestedQuery T) nestedType
- func Range(key string) rangeType
- func Sort(field string, order Order.Order) sortType
- func SortWithMode(field string, order Order.Order, mode Mode.Mode) sortType
- func Term[T any](key string, value T) termType
- func TermFunc[T any](key string, value T, f func(key string, value T) bool) termType
- func Terms(key string, values ...any) termsType
- func TermsArray[T any](key string, values []T) termsType
- func TermsArrayFunc[T any](key string, values []T, f func(key string, values []T) bool) termsType
- type Array
- type Object
- func (o Object) Aggs(name string, agg aggsType) Object
- func (o Object) From(from int) Object
- func (o Object) Range(key string) rangeType
- func (o Object) Size(size int) Object
- func (o Object) Sort(sorts ...sortType) Object
- func (o Object) Source() sourceType
- func (o Object) SourceFalse() Object
- func (o Object) TrackTotalHits(value bool) Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggMultiTerms ¶ added in v0.1.0
func AggMultiTerms() aggsType
func ExistsFunc ¶ added in v0.0.6
func SortWithMode ¶ added in v0.0.5
func TermsArray ¶
Types ¶
type Object ¶
func (Object) SourceFalse ¶ added in v0.0.4
func (Object) TrackTotalHits ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.