← Questions

Design news search and feeds without ML

0
AppleSystem designLast asked Dec 2025

A system design interview question asked in Apple's system design round, last asked Dec 2025. It tests search, feeds and indexing.

Design the first version of search and content discovery for a news app. You have no trained ranking model yet. Users search for articles, topics and publishers, and browse feeds, and the results should be relevant, fresh, safe and somewhat personal.

Requirements

  • Functional: ingest articles from many publishers; extract metadata (title, publisher, topics, entities, publish time); search across articles, topics and publishers; filter by topic and publisher; topic and "top stories" feeds; personalization from explicit choices (followed topics and publishers, blocked sources).
  • Non-functional: new articles searchable within minutes; low search latency at peak news events; high availability; safe content.

Clarifying questions

  • How many publishers and articles per day, and how many searches per second?
  • Do editors curate any part of the experience?
  • What counts as unsafe content, and who decides?
  • Which markets and languages?

What a strong answer covers

  • Ingestion: feeds and publisher APIs, deduplication of the same story from several sources, metadata and entity extraction with rules and dictionaries.
  • Indexing: an inverted index with fields (title, body, entities), near-real-time updates, separate indexes or types for topics and publishers.
  • Ranking without ML: text relevance (BM25), a freshness decay tuned per query type, publisher quality and editorial boosts, diversity across sources, safety filters.
  • Personalization from explicit signals only, and how it is combined with relevance.
  • Scale and latency: caching popular queries and feeds, sharding, handling breaking-news spikes.
  • Logging queries, impressions and clicks from day one, offline judgments and A/B tests, which is what makes ML possible later.

Follow-ups

  • A big story breaks and everyone searches the same term. What happens to latency and freshness?
  • How would you introduce a learned ranker without hurting the experience?
  • A publisher games your heuristics. How do you notice and respond?

Where it's asked

  • Apple · System design · Last asked Dec 2025

What it tests

search · feeds · indexing

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing