elastic VS go-elasticsearch

Compare elastic vs go-elasticsearch and see what are their differences.

elastic

Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch (by olivere)

go-elasticsearch

The official Go client for Elasticsearch (by elastic)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
elastic go-elasticsearch
21 16
7,298 5,423
- 1.2%
0.0 8.1
21 days ago about 21 hours ago
Go Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

elastic

Posts with mentions or reviews of elastic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-01.
  • How to include max_children in the Elasticsearch query
    2 projects | /r/golang | 1 Jul 2023
    i am trying to generate the following query using github.com/olivere/elastic/v7
  • Go and ElasticSearch full-text search microservice in k8s👋✨💫
    13 projects | dev.to | 16 Aug 2022
    For Go available two good libraries for elasticsearch, the official Elasticsearch client and another one from community olivere elastic, both is good, but at this moment only the official client supports 8 version of elasticsearch and for serious production think it's the choice.
  • How to add multiple conditions in elastic search in github.com/olivere/elastic/v7 library
    2 projects | /r/golang | 9 Aug 2022
    I am using "github.com/olivere/elastic/v7" library to connect with my elastic search service
    2 projects | /r/golang | 9 Aug 2022
    You are using the Query DSL, which is documented here, and has examples for boolean combination queries, so if you want it built up in a more strongly-typed fashion, check the documentation for it: https://github.com/olivere/elastic/wiki/QueryDSL
  • Go EventSourcing and CQRS with PostgreSQL, Kafka, MongoDB and ElasticSearch 👋✨💫
    16 projects | dev.to | 18 Jul 2022
    ElasticSearch repository implementation uses go-elasticsearch official library, another good one is olivere elastic but here it's not support 8 version which used for this project.
  • Go EventSourcing and CQRS microservice using EventStoreDB 👋⚡️💫
    12 projects | dev.to | 27 Feb 2022
    In this project we have microservice working with EventStoreDB using oficial go client, for [projections (https://zimarev.com/blog/event-sourcing/projections/) used MongoDB and Elasticsearch for search, and communicate by gRPC and REST. Did not implement here any interesting business logic and didn't cover tests, because don't have enough time, the events list is very simple: create a new order, update shopping cart, pay, submit, cancel, change the delivery address, complete order, and of course in real-world better use more concrete and meaningfully events, but the target here is to show the idea and how it works. Event Sourcing can be implemented in different ways, used here EventStoreDB, but we can do it with PostgreSQL and Kafka for example. After trying both approaches, found EventStoreDB is a better solution because all required features are implemented out of the box, it is optimized and really very good engineers developing it.
  • How to add current time into a field in ES?
    5 projects | /r/elasticsearch | 18 Aug 2021
  • Elasticsearch in Go, Err: “the client noticed that the server is not Elasticsearch and we do not support this unknown product”
    5 projects | /r/golang | 16 Aug 2021
    At $prevJob we used https://github.com/olivere/elastic though I left that job around the time that ES and Amazon started their flame war so I don't know how well it works given these licensing changes. Just thought I'd give a plug for that library though
    5 projects | /r/golang | 16 Aug 2021
    Relevant Discussion from the maintainer
    5 projects | /r/golang | 16 Aug 2021
    Use this library instead: https://github.com/olivere/elastic It is better supported, with more stars and activity.

go-elasticsearch

Posts with mentions or reviews of go-elasticsearch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-01.
  • How to include max_children in the Elasticsearch query
    2 projects | /r/golang | 1 Jul 2023
    Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • An alternative to Elasticsearch that runs on a few MBs of RAM
    65 projects | news.ycombinator.com | 24 Oct 2022
  • Go and ElasticSearch full-text search microservice in k8s👋✨💫
    13 projects | dev.to | 16 Aug 2022
    Elasticsearch client for Go RabbitMQ Go RabbitMQ Client Library Jaeger open source, end-to-end distributed tracing Prometheus monitoring and alerting Grafana for to compose observability dashboards with everything from Prometheus Echo web framework Kibana is user interface that lets you visualize your Elasticsearch Docker and docker-compose Kubernetes K8s Helm The package manager for Kubernetes
  • Go EventSourcing and CQRS with PostgreSQL, Kafka, MongoDB and ElasticSearch 👋✨💫
    16 projects | dev.to | 18 Jul 2022
    PostgeSQL as event store database Kafka as messages broker gRPC Go implementation of gRPC Jaeger open source, end-to-end distributed tracing Prometheus monitoring and alerting Grafana for to compose observability dashboards with everything from Prometheus MongoDB MongoDB database Elasticsearch Elasticsearch client for Go. Echo web framework Kibana Kibana is data visualization dashboard software for Elasticsearch Migrate for migrations
  • Go with elastic search
    2 projects | /r/golang | 13 Jul 2022
    did you use "github.com/elastic/go-elasticsearch/v8" package? for your project
  • Golang future web frameworks!
    13 projects | /r/golang | 24 Apr 2022
    elastic/go-elasticsearch 4.1k Starts, Used by 414
  • How to add current time into a field in ES?
    5 projects | /r/elasticsearch | 18 Aug 2021
  • Elasticsearch in Go, Err: “the client noticed that the server is not Elasticsearch and we do not support this unknown product”
    5 projects | /r/golang | 16 Aug 2021
    yeah it’s part of an ongoing slapfight between elastic co and amazon, see this PR https://github.com/elastic/go-elasticsearch/pull/324 and the many similar ones for all the other client libraries
    5 projects | /r/golang | 16 Aug 2021

What are some alternatives?

When comparing elastic and go-elasticsearch you can also consider the following projects:

bleve - A modern text/numeric/geo-spatial/vector indexing library for go

go-elasticsearch-examples - Official golang elasticsearch driver examples

riot - Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.

elastigo - A Go (golang) based Elasticsearch client library.

goes

goriak - goriak - Go language driver for Riak KV

elasticsql - convert sql to elasticsearch DSL in golang(go)

skizze - A probabilistic data structure service and storage

awesome-elasticsearch - A curated list of the most important and useful resources about elasticsearch: articles, videos, blogs, tips and tricks, use cases. All about Elasticsearch!

go-clean-arch - Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture