Skip to main content
InterviewHubPRO
Section Overview
Q2

Question 2 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

4%
Elasticsearch & Lucene (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What are Clusters, Nodes, Indices, and Documents in Elasticsearch?

senior LevelCode ExampleelasticsearchBasic

In Simple Words:

  • Cluster: A collection of one or more connected servers (nodes) that collectively hold your entire data and provide federated search and indexing.
  • Node: A single running instance of Elasticsearch running within the cluster.
  • Index: A logical namespace that groups related documents (similar to a table in SQL, but optimized for search).
  • Document: The basic unit of information represented as a JSON object (similar to a row in SQL).
json
// Example Document indexed in "orders" index:
{
  "_index": "orders",
  "_id": "ord_101",
  "_source": {
    "orderId": "ORD-2026-99",
    "customer": "Alex Mercer",
    "totalAmount": 149.50,
    "status": "shipped",
    "createdAt": "2026-03-15T10:30:00Z"
  }
}