search index
A separate store built for text search, filters and relevance ranking, fed from the source of truth.
In more detail
A search index is a projection with a lag budget: a new item may take seconds to appear, and that delay is product behaviour. Plan rebuilds from the source before launch, because the index can be lost or corrupted.
Related terms
- inverted index — A search structure that maps each word to the list of documents containing it.
- projection — A copy of data reshaped for one purpose, such as a search index or cache, built from the source of truth.
- source of truth — The one authoritative place a fact is recorded, from which every copy is derived instead of being maintained separately.
Taught in
- Requirements: The Constraints That Shape The System — Scalable System Design & Distributed Architecture
- The Storage Decision: Relational Versus Document — Scalable System Design & Distributed Architecture
- The Storage Decision: Key Value, Search And Blob — Scalable System Design & Distributed Architecture
- Consistency, And The Truth About CAP — Scalable System Design & Distributed Architecture
- Monolith Versus Services: The Honest Trade Offs — Scalable System Design & Distributed Architecture