Skip to main content
InterviewHubPRO
Section Overview
Q24

Question 24 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

48%
Elasticsearch & Lucene (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is Index Lifecycle Management (ILM) and how do its 5 phases work?

senior LevelMost AskedLifecycle

In Simple Words: ILM automates the aging of indices across hardware tiers to minimize infrastructure cost:

  1. Hot: Active write and read traffic on high-performance NVMe SSDs.
  2. Warm: No new writes; query traffic continues on cheaper SSDs. Merges segments to 1 segment (_forcemerge).
  3. Cold: Infrequent queries; stored on cheap magnetic disks or backed by searchable snapshots in S3.
  4. Frozen: Archival data searched rarely using searchable object storage.
  5. Delete: Automatically deletes indices older than N days/months.