Skip to main content
All Questions

Design a read-only keyword search system over 100M restaurant reviews.

Unlock detailed company stats for this questionUpgrade

Design something similar to Elasticsearch. Given 100M restaurant reviews, build a search API that outputs the list of all reviews containing all the query terms. Requirements: each review has a document id and content averaging 10 words; assume English (130k words in the dictionary); the system is read-only. Example: query "Best and italian and food" matches "This is the best italian food in the city." and "I love italian food, this is the best!" but not "This is the best italian restaurant in the city."

Community answers

No answers contributed by the community yet.

Related courses

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.

Course

System Design Interviews

Learn how to answer the latest system design questions across product, infrastructure, and AI domains. Features in-depth video examples, written breakdowns, and helpful reference patterns. Watch senior engineers and managers answer these questions in mock interview videos.