queries

package
v0.0.0-...-8f43f39 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsQuery

type EsQuery struct {
	Equals   []FieldValue `json:"equals"`
	FullText []FieldValue `json:"full_text"`
	Delete   []FieldValue `json:"delete"`
}

func (EsQuery) BuildDeleteQuery

func (q EsQuery) BuildDeleteQuery() elastic.Query

func (EsQuery) BuildFullTextQuery

func (q EsQuery) BuildFullTextQuery() elastic.Query

type FieldValue

type FieldValue struct {
	Field string      `json:"field"`
	Value interface{} `json:"value"`
}

Jump to

Keyboard shortcuts

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