Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

A minimalistic elasticsearch client in Go (golang)

Notifications You must be signed in to change notification settings

TheRealReal/elasticsearch-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch with go (golang)

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.

Methods

Index management:

  • CreateIndex
  • DeleteIndex
  • UpdateIndexSetting
  • IndexSettings
  • IndexExists
  • Status
  • GetIndicesFromAlias
  • UpdateAlias

CRUD:

  • InsertDocument
  • Document
  • DeleteDocument

Process:

  • Bulk

Queries:

  • Search
  • Multi Search
  • Suggest

Compatibility

Support all Elasticsearch versions

Install

go get github.com/maximelamure/elasticsearch

Usage

Below is an example which shows some common use cases. Check client_test.go for more usage.

TBD

About

A minimalistic elasticsearch client in Go (golang)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%