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") )
View Source
var ( // Providers represents what this library offers to external users in the form of dependencies. Providers = wire.NewSet( ProvideIndexManagerProvider, ) )
Functions ¶
func NewIndexManager ¶
func NewIndexManager( ctx context.Context, logger logging.Logger, client *http.Client, path search.IndexPath, name search.IndexName, fields ...string, ) (search.IndexManager, error)
NewIndexManager instantiates an Elasticsearch client.
func ProvideIndexManagerProvider ¶
func ProvideIndexManagerProvider() search.IndexManagerProvider
ProvideIndexManagerProvider is a wrapper around NewIndexManager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.