Part 10 · Distributed SearchChapter 34

Routing & Rescoring

Routing decides fan-out and creates hot shards. Rescoring pays for expensive logic only where it matters.

The question
Can I ask fewer shards, and score fewer documents?
The structure responsible
Routing key hash, and a rescore window

In this lab: Compare routing strategies, then set a rescore window and see what it promotes and what it misses.

building the index…