Grokking the System Design Interview, Volume II
Ask Author
Back to course home

0% completed

Vote For New Content
P B
Search

P B

Jan 14, 2026

  • Lack of deep dive about how we will be performing search in the email body. Only ElasticSearch is mentioned in one place.
  • If we are integrating with ElasticSearch anyway, why would we still need SQL and complex indexing. Though later it also mentions "Use inverted indexes: Map keywords -> list of message references. The search service likely maintains multiple indexes: one for email bodies, one for headers, maybe one for senders/recipients for faster specific searches. Querying combines these as needed."

0

0

Comments
Comments