Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made. When using Go modules, include the version in the import path, and specify either an explicit version or a branch. The elasticsearch package ties together two separate packages for calling the Elasticsearch APIs and transferring data over HTTP, esapi and elastictransport, respectively. When you export the ELASTICSEARCH_URL environment variable, it will be used to set the cluster endpoint(s). Separate multiple adresses by a comma. The _examples folder contains a number of recipes and comprehensive examples to get you started with the client, including configuration and customization of the client, using a custom certificate authority (CA) for security (TLS), mocking the transport for unit tests.

Features

  • Language clients are forward compatible
  • It's possible to use multiple versions of the client in a single project
  • The main branch of the client is compatible with the current master branch of Elasticsearch
  • The elasticsearch package ties together two separate packages for calling the Elasticsearch APIs
  • Use the elasticsearch.NewDefaultClient() function to create the client with the default settings
  • The esutil package provides convenience helpers for working with the client

Project Samples

Project Activity

See All Activity >

Categories

System

License

Apache License V2.0

Follow go-elasticsearch

go-elasticsearch Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-elasticsearch!

Additional Project Details

Programming Language

Go

Related Categories

Go System Software

Registered

2022-02-10