Categorygithub.com/grokify/goelastic
modulepackage
0.6.5
Repository: https://github.com/grokify/goelastic.git
Documentation: pkg.go.dev

# README

GoElastic: A Go Client Wrapper for Elasticsearch

Build Status Go Report Card Docs License

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

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Constants

DefaultHost is the HTTP host for the default server.
DefaultScheme is the HTTP scheme for the default server.
DefaultServerURL is the HTTP host for the default server.
see: https://www.elastic.co/blog/strings-are-dead-long-live-strings.
No description provided by the author
SlugCreate is the URL path part for creates.
No description provided by the author
No description provided by the author
SlugSearch is the URL path part for search.
SlugUpdate is the URL path part for updates.
More at: https://www.elastic.co/guide/en/elasticsearch/reference/current/number.html.
No description provided by the author
No description provided by the author
Deprecation in ES5: https://www.elastic.co/blog/strings-are-dead-long-live-strings.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
DocumentReadAPIResponse represents an Elasticsearch document response.