gopkg.in/elastic/go-elasticsearch.v7 (go): 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:  When using the Elastic Service (https://elastic.co/cloud), you can use CloudID instead of Addresses. When either Addresses or CloudID is set, the ELASTICSEARCH_URL environment variable is ignored.  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 about using the API.  See the github.com/elastic/go-elasticsearch/estransport package for more information about configuring the transport.
Keywords: client|elasticsearch|go|golang