Documentation ¶
Overview ¶
Package elasticsearch provides an interface-compatible wrapper around the elasticsearch indexer
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyQueryProvided indicates an empty query was provided as input. ErrEmptyQueryProvided = errors.New("empty search query provided") )
Functions ¶
func ProvideIndexManager ¶
Types ¶
type Config ¶
type Config struct { Address string `json:"address" toml:"address,omitempty"` Username string `json:"username" toml:"username,omitempty"` Password string `json:"password" toml:"password,omitempty"` CACert []byte `json:"caCert" toml:"ca_cert,omitempty"` IndexOperationTimeout time.Duration `json:"indexOperationTimeout" toml:"index_operation_timeout,omitempty"` }
Click to show internal directories.
Click to hide internal directories.