Documentation ¶
Index ¶
- type Client
- func (c *Client) Bulk(ctx context.Context, reader io.Reader) (io.ReadCloser, error)
- func (c *Client) GetClient() *elasticsearch.Client
- func (c *Client) Ping(ctx context.Context) error
- func (c *Client) PrepareCreateOperation(item sdk.Record) (interface{}, interface{}, error)
- func (c *Client) PrepareDeleteOperation(key string) (interface{}, error)
- func (c *Client) PrepareUpsertOperation(key string, item sdk.Record) (interface{}, interface{}, error)
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetClient ¶
func (c *Client) GetClient() *elasticsearch.Client
GetClient returns Elasticsearch v7 client.
func (*Client) PrepareCreateOperation ¶
func (*Client) PrepareDeleteOperation ¶
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.