esc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() *elasticsearch.Client

Connect creates es client.

func Search(es *elasticsearch.Client, size int, index string, query string, fields []string, sort []string) (string, error)

Search sends the search request to API.

func Stats

func Stats(es *elasticsearch.Client, nodeFilter string) (string, error)

Stats sends request to cluster stat API.

Types

This section is empty.

Jump to

Keyboard shortcuts

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