PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design keyword search for social posts

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's skills in large-scale system design, information retrieval and indexing, API design, ranking strategies, and handling real-time updates and consistency for search features.

  • medium
  • Meta
  • System Design
  • Software Engineer

Design keyword search for social posts

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

Design a Facebook-like **post search** feature: - Input: one or more **keywords**. - Output: all (or top-K) posts that **contain** the keyword(s). - Assume posts are created/updated/deleted continuously and the corpus is very large. Define APIs, indexing strategy, ranking, and how you would scale the system. You may assume you can build something similar to an Elasticsearch-style solution (inverted index), but describe the components yourself.

Quick Answer: This question evaluates a candidate's skills in large-scale system design, information retrieval and indexing, API design, ranking strategies, and handling real-time updates and consistency for search features.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
Meta logo
Meta
Oct 2, 2025, 12:00 AM
Software Engineer
Technical Screen
System Design
2
0

Design a Facebook-like post search feature:

  • Input: one or more keywords .
  • Output: all (or top-K) posts that contain the keyword(s).
  • Assume posts are created/updated/deleted continuously and the corpus is very large.

Define APIs, indexing strategy, ranking, and how you would scale the system. You may assume you can build something similar to an Elasticsearch-style solution (inverted index), but describe the components yourself.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Software Engineer•Meta Software Engineer•Meta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.