System Design
Intermediate
Search and Read Models
Build fast query experiences with indexes, denormalization, and asynchronous projections.
30 min
3 sections
search
read-models
elasticsearch
1
2
3
01. Search is a separate product surface
Section 1 of 3
Search engines are not just databases with text indexes. They need ranking, filters, analyzers, typo tolerance, access control, freshness guarantees, and operational reindexing plans.
json
Marketplace search document:
{
"listingId": "lst_123",
"sellerId": "seller_9",
"title": "Noise cancelling headphones",
"category": "electronics",
"price": 19900,
"currency": "USD",
"inventoryStatus": "IN_STOCK",
"allowedRegions": ["US", "CA"],
"updatedAt": "2026-07-05T14:00:00Z"
}Back to Course