goelastic

Elasticsearch client with JSON API interface in Go.

MIT License

Stars
4

GoElastic: A Go Client Wrapper for Elasticsearch

Simple client to query Elasticsearch API using HTTP API documentation.

Usage

See the sample code in the docs folder.

So far the following example code has been created:

  1. Create Index: Go code, ES docs
  2. Index Docs: Go code, ES docs
  3. Bool Query: Go code, ES docs
  4. Terms Aggregation: Go code, ES docs

References

  1. Mapping
    1. An Introduction to Elasticsearch Mapping