Search at scale
Fifty million products don't fit on one search server, and a hundred thousand searches a second wouldn't either. How do you split an index across machines and still return the best ten results in milliseconds?
In this lesson you'll learn to
- Split a search index into shards, and explain document-partitioned versus term-partitioned indexes.
- Answer queries with scatter-gather and a top-k merge, and handle the slowest shard.
- Explain why deep pagination is expensive, and use cursors instead.
- Keep the index in sync with the database, and reindex with no downtime using aliases.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.