Elasticsearch
activeby Elastic N.V. · since 2010 · also known as ES, Elastic
Lucene-based distributed search and analytics engine for text, vectors, logs and metrics.
Overview
Elasticsearch is the distributed search engine that made Lucene easy to cluster, and it remains the default choice for application search, log analytics and security analytics at large scale. Recent releases lean hard into AI retrieval: dense and sparse vectors, BBQ quantization, semantic_text fields with built-in inference, and hybrid ranking via retrievers. Since late 2024 the source is available under AGPL-3.0 alongside SSPL and the Elastic License, which ended the 'not open source' debate that spawned OpenSearch. Expect to spend real effort on shard sizing, mappings and JVM tuning, or pay Elastic to do it in Elastic Cloud.
Strengths & trade-offs
Strengths
- +Best-in-class relevance tooling: BM25, analyzers, synonyms, learning-to-rank and hybrid retrievers
- +Native dense, sparse (ELSER) and quantized (BBQ) vector search in the same index as text
- +ES|QL gives a piped query language for logs, metrics and joins against lookup indices
- +Huge ecosystem: Kibana, Beats, Logstash, Elastic Agent and clients for every language
- +AGPL option makes it open source again for teams that care about OSI licensing
Trade-offs
- −Shard count, heap and mapping design need ongoing expert tuning
- −Near-real-time refresh means writes are not instantly searchable and there are no multi-document transactions
- −Advanced features (ML, cross-cluster replication, some security) require paid tiers
- −Resource hungry compared with Meilisearch, Typesense or object-storage engines like Quickwit
Great for
- +E-commerce and site search with faceting
- +Log, metrics and SIEM analytics
- +Hybrid keyword plus semantic retrieval for RAG
- +Geospatial search and aggregations
- +Enterprise document search
Think twice for
- −Primary transactional datastore
- −Small apps that just need typo-tolerant search box
- −Cheap long-term log archival at PB scale
Capabilities
Native or official first-party support · 11 of 25 tracked
Scale & consistency
- Comfortable data size
- Massive · Multi-PB
- Horizontal scaling
- Native
- Multi-region
- Read replicas
- Transactions
- Limited ACID
- Consistency
- Eventual
- Schema
- Flexible
- Architecture
- Distributed, Client server
- Query languages
- Query DSL, ES|QL, SQL, EQL
Shards and replicas spread across nodes automatically; cross-cluster replication and cross-cluster search handle multi-region. Multi-PB logging clusters are common.
Deployment
available on · AWS · Google Cloud · Azure
Ecosystem
Alternatives to Elasticsearch
Apache-licensed, foundation-governed fork of Elasticsearch for search, vectors and observability.
elasticsearch vs opensearch →The original Lucene search server: battle-tested, Apache-governed, now with GPU-accelerated vectors.
elasticsearch vs apache-solr →Big-data serving engine for search, recommendation and RAG with tensors and ML ranking.
elasticsearch vs vespa →Developer-friendly Rust search engine with typo tolerance and built-in hybrid semantic search.
elasticsearch vs meilisearch →In-memory, typo-tolerant search engine in C++ with vector, hybrid and conversational search.
elasticsearch vs typesense →Cloud-native search engine on object storage for logs and traces, built on Tantivy.
elasticsearch vs quickwit →Elasticsearch FAQ
What is Elasticsearch?
Elasticsearch is a search engine database by Elastic N.V., first released in 2010. Elasticsearch is the distributed search engine that made Lucene easy to cluster, and it remains the default choice for application search, log analytics and security analytics at large scale. Recent releases lean hard into AI retrieval: dense and sparse vectors, BBQ quantization, semantic_text fields with built-in inference, and hybrid ranking via retrievers. Since late 2024 the source is available under AGPL-3.0 alongside SSPL and the Elastic License, which ended the 'not open source' debate that spawned OpenSearch. Expect to spend real effort on shard sizing, mappings and JVM tuning, or pay Elastic to do it in Elastic Cloud.
Is Elasticsearch open source?
Yes. Elasticsearch is open source. License: AGPL-3.0, SSPL 1.0 or Elastic License 2.0 (your choice).
Does Elasticsearch support ACID transactions?
Partly. Elasticsearch offers limited ACID guarantees (for example, single-record or single-partition transactions), with eventual consistency.
Does Elasticsearch scale horizontally?
Elasticsearch scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at massive scale (Multi-PB). It supports cross-region read replicas.
How can I run Elasticsearch?
You can self-host it, use the vendor's managed cloud and run it serverless. Managed offerings include Elastic Cloud Hosted and Elastic Cloud Serverless. It is available on AWS, Google Cloud and Azure.
What is Elasticsearch best for?
Elasticsearch is a strong fit for E-commerce and site search with faceting; log, metrics and SIEM analytics; and hybrid keyword plus semantic retrieval for RAG. Think twice for primary transactional datastore.
What are the best alternatives to Elasticsearch?
Common alternatives to Elasticsearch include OpenSearch, Apache Solr, Vespa, Meilisearch and Typesense. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is Elasticsearch?
Elasticsearch ranks #6 of 844 databases on the WhichDB Score (75.1/100), and #1 among search engine databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


