Search & Indexing Services
Design search features with inverted and geospatial indexes, keep indexes in sync with source data, and scale query serving.
4 objectives 6 steps about 125 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Explain how an inverted index, analyzers and relevance scoring (TF-IDF, BM25) answer full-text queries.
- Design an indexing pipeline from the system of record (for example change data capture into a search index) and state its freshness and consistency guarantees.
- Scale a search cluster with shards and replicas and serve typeahead within a latency budget.
- Choose a geospatial index (geohash, quadtree, S2 cells) for proximity queries.
Lesson plan
6 steps, about 125 min · 5 of 5 lessons available so far
- Inverted indexes, analyzers and scoring Concept · 25 min
- Keeping search in sync: CDC, reindexing and aliases Concept · 20 min
- Shards, replicas and scatter-gather queries Concept · 20 min
- Designing typeahead under 100 ms Worked example · 25 min
- Indexing location: geohash, quadtrees and S2 cells Concept · 20 min
- Search design check Knowledge check · 8 questions
Practise it
Build a small inverted index with BM25 scoring over a public text dataset, then write a one-page design for product search at 5,000 QPS covering ingestion from the primary database, shard and replica counts, and an index freshness target.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Search EngineIntermediate · 8–16 h
References
Hard prerequisites
None.
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.