Infrastructure & Operations · Databases
Elasticsearch
Distributed search, analytics, observability, and vector retrieval
Elasticsearch is a distributed search and analytics engine for application search, logs, metrics, security data, and vector retrieval. Elastic maintains its default distribution under Elastic License 2.0, with AGPLv3 and SSPL 1.0 options for significant source portions. Elastic Cloud offers hosted and serverless deployments, including a 14-day trial.
Key facts
- License
- Elastic License 2.0 for default distributions, with AGPLv3, SSPL 1.0, and ELv2 source options
- Main language
- Java
- Maintainer
- Elastic
- First released
- 2010
- Latest release
- v9.5.5, October 6, 2026
- GitHub stars
- 78,335, October 2026
- Hosted option
- Elastic Cloud hosted and serverless, 14-day trial; usage pricing varies
What Elasticsearch is
Elasticsearch began with Shay Banon, and its first public release, version 0.4.0, arrived in February 2010. Elastic now maintains the project, which its repository describes as a distributed, RESTful search engine. The repository records 78,335 stars and 26,105 forks as of October 2026. Elastic reported more than 71,500 stars and more than 2,400 unique authors in February 2025. The company also reports more than 1.45 billion downloads and use by thousands of companies, including more than half of the Fortune 500. Elastic funds development through hosted services, subscriptions, support, and products covering search, observability, and security. The project remains active, with version 9.5.5 released in October 2026.
How it works
Elasticsearch stores JSON documents in indices and exposes REST APIs for indexing, searching, filtering, and aggregation. A typical workflow defines mappings and analyzers, sends documents through an HTTP API or language client, then queries the index with Query DSL or ES|QL. Kibana adds dashboards, Discover, and developer tools for interactive work. Logstash, Beats, and Elastic APM feed logs, metrics, traces, and security data into deployments. Teams can combine application search with operational analytics in one deployment, though that breadth also creates configuration and capacity decisions.
Architecture and recent releases
The engine is written in Java and built on Apache Lucene. It runs as a self-managed cluster or through Elastic Cloud, with REST APIs, language clients, Kibana, Elastic Stack integrations, and automation through APIs, a command line interface, and software development kits. Version 9.5.5 is the latest stable release listed on October 6, 2026, alongside 9.4.8 and 8.19.23. Recent development includes vector search, semantic retrieval, ES|QL, LogsDB, Serverless projects, and Search AI Lake work that separates compute from storage. Elastic describes Serverless as generally available on AWS and in technical preview on Azure in its history article. The repository also supports builds for Linux, macOS, and Windows.
License and pricing
Elastic's licensing separates source options from default binary distributions. Elastic says significant free portions of Elasticsearch source are available under AGPLv3, SSPL 1.0, and Elastic License 2.0, while default binary releases remain under Elastic License 2.0. ELv2 permits use, modification, redistribution, SaaS use, and embedding subject to its restrictions. SSPL adds source obligations for offering the product as a service, while AGPL applies copyleft terms to covered source. Elastic Cloud offers hosted and serverless deployments with a 14-day trial. Serverless pricing is usage-based, with separate charges for ingest, search, machine learning, storage, retention, and transfer.
Limitations and how it compares
Elasticsearch's scope creates operational and licensing work that smaller teams may prefer to avoid. OpenSearch is the closest open-source alternative for teams seeking an Apache 2.0 lineage, while Apache Solr offers another Lucene-based search engine with a different administration model. Algolia can reduce infrastructure work for application search, although it does not provide the same broad logs, observability, and security stack. Choose Elasticsearch when REST search, Lucene capabilities, vector retrieval, Kibana, and Elastic's managed services matter more than a narrow search API or permissive default distribution license.
Main features
- Distributed Search. Indexes documents across clusters and exposes REST APIs for near real-time full-text search, filtering, relevance tuning, and retrieval.
- Aggregations. Computes summaries and grouped results for analytics, dashboards, log exploration, metrics, and operational reporting.
- Vector Retrieval. Supports dense vector search, semantic search, hybrid retrieval, and retrieval augmented generation application patterns.
- Observability Stack. Integrates with Kibana, Logstash, Beats, and Elastic APM for logs, metrics, traces, dashboards, and investigations.
- .
- Lifecycle Management.
- Serverless Deployment. Elastic Cloud Serverless separates compute and storage, autoscaling resources while charging separately for ingest, search, machine learning, and storage.
Self-hosting Elasticsearch
Self-managed Elasticsearch can be downloaded from Elastic or built with Gradle for Linux, macOS, and Windows. Elastic documents a Docker-based local setup that starts Elasticsearch and Kibana for development and testing. The local setup is not intended for production, disables HTTPS, and uses basic authentication. The project information does not specify minimum CPU, memory, or disk requirements, so hardware sizing depends on indexed data, query volume, retention, and replication.
Strengths
- REST APIs and language clients support broad application integration.
- Lucene provides mature full-text search and indexing foundations.
- Kibana connects search with logs, metrics, security, and observability workflows.
- Elastic Cloud offers hosted and serverless deployment choices.
Drawbacks
- Default distributions use Elastic License 2.0 rather than Apache 2.0.
- Self-managed clusters require careful shard, capacity, upgrade, and backup planning.
- Hosted pricing depends on resource consumption and selected support services.
What teams replace with it
Teams usually evaluate Elasticsearch when they want to move off Algolia, Amazon OpenSearch Service.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Elasticsearch
- OpenSearch
- Apache Solr
- Meilisearch
- Typesense
- Vespa
Frequently asked questions
Is Elasticsearch free to use?
Elasticsearch has free source portions and a free Basic level after the local setup trial, but licensing depends on whether you use source code or a binary distribution. Default binary releases remain under Elastic License 2.0. Elastic Cloud is a paid hosted service with a 14-day trial, and Serverless pricing charges for ingest, search, machine learning, storage, retention, and transfer.
Can companies use Elasticsearch commercially?
Elastic says users may use the default distribution inside SaaS or self-managed applications and redistribute it while following Elastic License 2.0 restrictions. Covered source portions also offer AGPLv3 and SSPL 1.0 choices, each with different obligations. Teams embedding, modifying, or offering Elasticsearch as a service should review the applicable license and affected files before distribution.
How do you self-host Elasticsearch?
Download Elasticsearch from Elastic, build it with Gradle, or use the documented Docker-based local setup. The local script launches Elasticsearch and Kibana for development and testing, with REST access on localhost. The project documentation does not specify minimum hardware requirements, so sizing depends on workload.
How does Elasticsearch compare with OpenSearch?
Both provide distributed search and analytics capabilities, and both use Lucene-based designs. Elasticsearch adds Elastic's Kibana, Stack integrations, vector and semantic search work, hosted Elastic Cloud, and Serverless offerings. OpenSearch is the more direct choice for teams prioritizing its Apache 2.0 licensing lineage. Elasticsearch fits teams choosing Elastic's integrated products and services.
What are Elasticsearch's data privacy and security options?
Self-managed deployments give operators control over infrastructure, deployment location, access, storage, and backups. Elastic Cloud offers hosted deployments on AWS, Google Cloud, and Azure, with dedicated environments and network options described by Elastic. Elasticsearch includes security capabilities, while the local Docker setup uses basic authentication and disables HTTPS, making it unsuitable for production without hardening.
Similar projects to compare
- OpenSearchApache-2.0OpenSearch is an Apache 2.0 search and analytics suite for application search, log analytics, observability, and vector workloads. The Linux Foundation hosts its community foundation, while Amazon OpenSearch Service provides managed clusters and Serverless deployments with usage-based billing. It includes a distributed search engine and a browser interface for dashboards and operational analysis.
- MeilisearchMIT (Community); BUSL-1.1 (Enterprise, source-available)Meilisearch is a Rust search engine for full text, semantic, and hybrid search in applications and websites. Its Community Edition is MIT licensed and free for commercial self hosting, while Enterprise features use BUSL 1.1. Meilisearch Cloud is managed, includes a 14 day trial, and starts at $20 per month.
- TypesenseGPL-3.0 server, Apache-2.0 client librariesTypesense is an open source, in memory search server for catalogs, documentation, marketplaces, and applications. Its server uses GPL-3.0, while client libraries use Apache-2.0. Teams can self host without a software subscription or use Typesense Cloud, which bills dedicated clusters by runtime resources and bandwidth.
- ActiveloopApache-2.0Activeloop Deep Lake is an Apache-2.0 multimodal AI data runtime, database, and vector store for teams building retrieval and training systems around text, images, audio, video, metadata, and embeddings. The Python-centered open-source package supports local and customer-cloud storage, while Activeloop offers hosted storage, a managed tensor database, Knowledge Agents, and enterprise deployment options.
- Apache DruidApache-2.0Apache Druid is an Apache-licensed real-time analytics database for event-oriented data, fast aggregations, and highly concurrent applications. It suits teams building analytical applications, operational dashboards, and APIs over streaming or batch data. Teams can self-host it, while Imply Polaris offers managed Druid service from $100 per month plus usage charges.
- Apache IoTDBApache-2.0Apache IoTDB is an Apache License 2.0 time-series database for industrial IoT collection, storage, and analysis. It targets teams managing sensor data across edge and cloud deployments. The software is free to self-host, while Timecho offers commercial products and support based on IoTDB. No public hosted Apache IoTDB price is published.