elasticsearch

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 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 ClientInterface

type ClientInterface interface {
	Initialize(addresses []string, timeout time.Duration, cloudID, apiKey, username, password, certificateFingerprint string, caCert []byte) error

	Exists(index, documentID string) (bool, error)

	Index(index, documentID, body string) error

	Delete(index, documentID string) error
	DeleteByQuery(indices []string, body string) error

	IndicesExists(indices []string) (bool, error)
	IndicesCreate(index, body string) error
	IndicesDelete(indices []string) error

	IndicesExistsTemplate(name []string) (bool, error)
	IndicesPutTemplate(name, body string) error
	IndicesDeleteTemplate(name string) error

	IndicesForcemerge(indices []string) error

	Search(index, body string) (string, error)
}

Directories

Path Synopsis
Package v7 provides Elasticsearch version 7 client implementations.
Package v7 provides Elasticsearch version 7 client implementations.
Package v8 provides Elasticsearch version 8 client implementations.
Package v8 provides Elasticsearch version 8 client implementations.

Jump to

Keyboard shortcuts

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