Registry / http-client / olivere-elastic-v7

olivere-elastic-v7

JSON →
library7.0.32gogounverified

Package elastic provides an interface to the Elasticsearch server.

go get github.com/olivere/elastic/v7
INSTALL
IMPORT
SIG · OLIVERE-ELASTIC-V7
O
olivere-elastic-v7
http-clientgov7.0.32
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.

elastic
github.com/olivere/elastic/v7

Creates a new Elasticsearch client connected to localhost:9200.

package main import ( "fmt" "github.com/olivere/elastic/v7" ) func main() { client, err := elastic.NewClient(elastic.SetURL("http://localhost:9200")) if err != nil { panic(err) } fmt.Println(client) }
Debug
Known issues
breakingVersion 7 is for Elasticsearch 7.x; use v8 for Elasticsearch 8.x.
fix
Use github.com/olivere/elastic/v8 for Elasticsearch 8.x.
affects: >=7.0.0 <8.0.0
Upgrade
Version history
7.0.32latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
olivere-elastic-v7 — go get olivere-elastic-v7 · libregistry