Package Usage: go: github.com/elastic/go-elasticsearch/v5
Package elasticsearch provides a Go client for Elasticsearch.
Create the client with the NewDefaultClient function:
The ELASTICSEARCH_URL environment variable is used instead of the default URL, when set.
Use a comma to separate multiple URLs.
To configure the client, pass a Config object to the NewClient function:
See the elasticsearch_integration_test.go file and the _examples folder for more information.
Call the Elasticsearch APIs by invoking the corresponding methods on the client:
See the github.com/elastic/go-elasticsearch/esapi package for more information and examples.
2 versions
Latest release: presque 6 ans ago
27 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/elastic/go-elasticsearch/v5