This repository has been archived.
📚 Archived Status: This repository is no longer actively maintained or updated. It is being preserved for historical reference or potential future use. Issues, pull requests, and contributions are no longer accepted.
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
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