Skip to content
All interviews

Full-text search engine

Index billions of documents into an inverted index sharded by document ID, scatter queries across shards in parallel, score candidates with BM25 + static signals (PageRank) + neural re-ranking, and gather the top results with snippets under a tight tail-latency budget.

Notes and ratings save in this browser. Completing self-assessment records your progress.

45:00

Requirements checklist

Clarifying questions
  • How many documents and what average document length?
  • How fresh must newly published or edited documents be in search results?
  • Is returning 98% complete results acceptable when a shard times out?
  • Do we need phrase queries and positional proximity scoring?

requirements

Suggested time: about 6 minutes. Partial-result degradation vs complete failure under shard slowdowns.