How OpenSearch Searches 1 Billion Docs in 2ms.

Click any query term below or simulate a Node 1 crash to watch Lucene tokenization, Inverted Index lookups, Scatter-Gather Query-Then-Fetch, and Replica Promotion live.

▶ Watch Full 1080p Video (2:37) ⚡ Watch 50s Short ← Back to Studio Hub
LIVE CLUSTER TOPOLOGY // 3 NODES • 3 PRIMARY + 3 REPLICA SHARDS

Query-Then-Fetch & Automatic Failover Sandbox

Latency: 2.4 ms Cluster: GREEN (3/3)
Query Term:
Active Flow: FST in RAM jumps straight to posting list "timeout" -> [Doc 12, Doc 42, Doc 819]. Coordinator scatters Query-Then-Fetch across Primary Shards P0, P1, P2 in 2.4 ms.

1. Inverted Index + FST

An Analyzer tokenizes text once at write time. An in-memory Finite State Transducer (FST) maps terms to disk byte offsets for O(1) posting-list jumps.

2. 1s NRT Immutable Segments

Writes hit a RAM buffer + crash-safe Translog WAL, refresh every 1s into read-only Lucene segments, and merge in the background with zero read locks.

3. Shards, Failover & Hybrid RRF

Coordinator merges Top-K BM25 + HNSW k-NN vector scores via Reciprocal Rank Fusion, while Cluster Manager quorum promotes Replicas on node loss.