Registry / database / elastic-go-elasticsearch-v6

elastic-go-elasticsearch-v6

JSON →
library6.8.10gogounverified

Package elasticsearch provides a Go client for Elasticsearch.

go get github.com/elastic/go-elasticsearch/v6
INSTALL
IMPORT
SIG · ELASTIC-GO-ELASTIC
E
elastic-go-elasticsearch-v6
databasegov6.8.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

elasticsearch
✓ github.com/elastic/go-elasticsearch/v6

Create a default Elasticsearch client and print cluster info.

package main import ( "log" "github.com/elastic/go-elasticsearch/v6" ) func main() { es, _ := elasticsearch.NewDefaultClient() log.Println(es.Info()) }
Debug
Known issues
breakingVersion 6.x is for Elasticsearch 6.x; incompatible with 7.x or 8.x.
fix
Use go-elasticsearch/v7 or v8 for newer Elasticsearch versions.
affects: >=6.0.0 <7.0.0
Upgrade
Version history
6.8.10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
elastic-go-elasticsearch-v6 — go get elastic-go-elasticsearch-v6 · libregistry