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. |
Click to show internal directories.
Click to hide internal directories.