Saved
Software · Systems

Elasticsearch

2010

Elasticsearch delivers real-time search—but abandons open source to do it.

Worth your time?4/5Yes.Study the whole thing.What works, what does not, who it is for ↓
9:18in productionCh. 1 · Origins/ 9:18 · ceiling 15 min
4 chapters · 9:18Ceiling 15:00

The brief is written and checked. The video joins this page when it is cut.4 chapters · 2 min read · 9:18 planned

Read the brief

Elasticsearch delivers real-time search—but abandons open source to do it.

Chapters & takeaways4
  1. 0:50
    Origins

    Compass in 2004 led directly to Elasticsearch’s first release in February 2010.

  2. 2:16

    It indexes JSON documents in sharded, replicated indices using Lucene—and exposes them over HTTP.

  3. 3:48
    What It Is

    It is source-available—not open source—and built for distribution, multitenancy, and real-time search.

  4. 5:35
    The Licensing Shift

    Licensing shifted from Apache 2.0 to SSPL/Elastic License in January 2021, then added AGPL in August 2024.

1 more chapterFewer chapters
Worth your time?

Yes. Study the whole thing.

4/ 5
What works
  • real-time-search
  • faceted-search
  • distributed-indexing
  • multitenancy
What does not
  • open-source
Study it if
  • infrastructure-engineers
  • search-architects
  • log-analytics-teams
Skip it if
  • teams requiring OSI-approved licenses without exception
Who should study it, and who should skipHide who it is for
The written brief2 min read

What it is and the problem it solves

Elasticsearch is a source-available, distributed full-text search engine. It solves the problem of fast, scalable search over high-volume, schema-free JSON data.

Shay Banon created its precursor, Compass, in 2004. While working on a third version of Compass he concluded that a full rewrite was needed to build a scalable, distributed search solution with JSON over HTTP as the common interface, and he released the first version of Elasticsearch in February 2010. Elastic NV was founded in 2012 to provide commercial services and products around it.

How it works

Elasticsearch distributes JSON documents across sharded, replicated indices. Each shard can have replicas on different cluster nodes. It uses Apache Lucene for indexing and search, exposed via HTTP.

Routing and rebalancing across the cluster are handled automatically. One constraint matters at design time: once an index has been created, the number of primary shards cannot be changed. A gateway module handles long-term index persistence, so an index can be recovered after a node failure. Beyond full-text queries, the engine supports percolation, a form of prospective search in which stored queries are matched against incoming documents rather than the reverse. Official client libraries exist for Java, C#, PHP, Python and Ruby, among others.

What works

Full-text search works. Faceted search works. Real-time search works. Multitenancy works. Sharding and replication across nodes work.

Real-time GET requests make Elasticsearch usable as a NoSQL datastore. It is developed alongside Logstash (data collection and log parsing), Kibana (analytics and visualisation) and Beats (lightweight data shippers); the four are designed for use together as the Elastic Stack, formerly the ELK Stack.

What does not

It does not remain open source after January 2021. Version 7.11 dropped Apache License 2.0 for dual SSPL/Elastic License. AGPL was added only in August 2024 (v8.16.0).

Elastic said the change was a response to Amazon Web Services offering Elasticsearch and Kibana as a service without what Elastic described as adequate collaboration. Critics noted that Elastic had previously promised never to alter the Apache 2.0 licensing, and predicted the move would damage the ecosystem. AWS announced a fork to continue under Apache 2.0, backed by other members of the ecosystem including Logz.io, CrateDB and Aiven, and rebranded it OpenSearch in April 2021 because of potential trademark conflicts with the Elasticsearch name. The 2024 addition of the AGPL made the software available under a free and open-source license again, alongside the two source-available options. Separately, Elasticsearch does not support distributed transactions.

What it changes

It changes how organisations index and query large volumes of log, metrics, and event data—enabling fast faceted and real-time search where relational databases falter.

In May 2019 Elastic made the core security features of the Elastic Stack available without charge, including TLS for encrypted communications, file and native realm authentication, and role-based access control for cluster APIs and indices; the source code for those features is available under the Elastic License. SIEM and machine learning capabilities are part of the commercial offerings.

Is it worth your time

Yes—if you need scalable, real-time full-text search over unstructured or semi-structured data and can manage licensing shifts post-2021.

Same field · Software4 of 114
8:46
Rust (programming language)Graydon Hoare · 2006Rust delivers provable memory and thread safety through compile-time ownership and borrowing rules—not runtime enforcement. It works where it is applied strictly, fails where those rules are bypassed or ignored, and demands upfront investment in reasoning over runtime convenience. Its success lies not in eliminating trade-offs, but in making them explicit, auditable, and unignorable.
10:04
YAML2001YAML is a human-readable data serialization language introduced in 2001. It uses indentation for structure, supports native scalars, lists, and associative arrays, draws syntax inspiration from RFC 822, MIME, C, and HTML, and is commonly used for configuration files and data storage/transmission.
8:56
SQLiteD. Richard Hipp · 2000SQLite is a C library that embeds a relational database engine directly into applications. It stores data in a single cross-platform file. It delivers ACID transactions and most SQL-92 features—but omits materialized views, full trigger support, and ALTER TABLE. It relies on file-system locking, not internal concurrency control. It enforces access via file permissions, not users or roles. Its type system is dynamic by default. It is widely deployed because it requires no installation, configuration, or administration.
9:21
Thread (computing)The pthreads standard solved portability, not concurrency. It gave developers a common interface — but no safety, no performance guarantees, and no escape from platform-specific pitfalls. Its value lies entirely in what it enabled, not what it delivered.
Up next in Technology

ESIM

· 9:29

eSIM standardises SIM removal — not carrier control.

9:29