elastic7

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	API *dsl.API
	// contains filtered or unexported fields
}

func NewClient

func NewClient(address string, index string, apikey string, logger *logging.Logger) (*Client, error)

func (*Client) GetDSLAPI

func (c *Client) GetDSLAPI() *dsl.API

func (*Client) Info

func (es8 *Client) Info() (*elastic.ResultInfo, error)

func (*Client) Search

func (es8 *Client) Search(index string, srch any) (*elastic.SearchResult, error)

Jump to

Keyboard shortcuts

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