Registry / database / olivere-elastic-v3

olivere-elastic-v3

JSON →
library3.0.75gogounverified

Package elastic provides a Go interface to Elasticsearch, supporting indexing, searching, and cluster management.

go get gopkg.in/olivere/elastic.v3
INSTALL
IMPORT
SIG · OLIVERE-ELASTIC-V3
O
olivere-elastic-v3
databasegov3.0.75
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
gopkg.in/olivere/elastic.v3

Connects to Elasticsearch and retrieves server version.

package main import ( "fmt" "gopkg.in/olivere/elastic.v3" ) func main() { client, _ := elastic.NewClient() info, _ := client.ElasticsearchVersion("http://localhost:9200") fmt.Println(info) }
Debug
Known issues
breakingVersion 3 is outdated; consider upgrading to v5 or v7 for newer Elasticsearch features.
fix
Use gopkg.in/olivere/elastic.v5 or v7 for compatibility with Elasticsearch 5.x/7.x.
affects: 3.x
Upgrade
Version history
3.0.75latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
olivere-elastic-v3 — go get olivere-elastic-v3 · libregistry