elasticsearch

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryBuilder added in v0.1.4

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

func NewQueryBuilder added in v0.1.4

func NewQueryBuilder(defaultFields ...QueryField) *QueryBuilder

func (*QueryBuilder) NewElasticQuery added in v0.1.4

func (qb *QueryBuilder) NewElasticQuery(q *search.QueryTerm) elastic.Query

type QueryField added in v0.1.4

type QueryField struct {
	Field string
	Boost float64
}

Jump to

Keyboard shortcuts

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