A minimalistic elasticsearch client in Go (golang).
This package is a basic wrapper which exposes Elasticsearch methods in GO. It helps you to stay focus on your queries and your index mapping by doing for you the communication with elasticsearch.
Index management:
- CreateIndex
- DeleteIndex
- UpdateIndexSetting
- IndexSettings
- IndexExists
- Status
- GetIndicesFromAlias
- UpdateAlias
CRUD:
- InsertDocument
- Document
- DeleteDocument
Process:
- Bulk
- UpdateByQuery
Queries:
- Search
- Multi Search
- Suggest
Support all Elasticsearch versions
go get github.com/maximelamure/elasticsearch
Below is an example which shows some common use cases. Check client_test.go for more usage.
TBD