v6

package
v0.0.0-...-be065d1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elastic

type Elastic struct {
	Client *elasticsearch.Client
	// contains filtered or unexported fields
}

func New

func New(address string, basicAuth bool, username, password, index string) (*Elastic, error)

func (*Elastic) ClearScroll

func (e *Elastic) ClearScroll(scrollId string)

func (*Elastic) GetTotalHitCount

func (e *Elastic) GetTotalHitCount(v interface{}) int64

func (*Elastic) Scroll

func (e *Elastic) Scroll(id string) ([]byte, error)

func (*Elastic) Search

func (e *Elastic) Search(indices string, body []byte, scroll bool) ([]byte, error)

Jump to

Keyboard shortcuts

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