Elasticsearch is a search engine built on top of Apache Lucene.

It is:

You store documents, not rows like in SQL.


🧱 Key Concepts

🖥️ Node

🧮 Cluster

Cluster is a collection of one or more nodes that together hold your data and provide distributed search and indexing capabilities.

Why Clusters?

📦 Core Terms in Elasticsearch

Concept Description
Index Like a table in SQL. A collection of documents
Document single JSON object — like a row in SQL. Every document has a unique ID (UID)
Field A key-value pair in a document
Mapping Like a schema: defines field types
Query How you search documents

🧩 Shard