Indexing in distributed search
medium 28 minHow documents become a searchable index spread over many machines: the analysis chain, posting lists and their compression, segments and merges, and the choice between splitting by document or by term.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Explains the inverted index and analysis
- Knows why segments exist
- Splits by document
Will be probed on
- Phrases
- Deletes
Stands out
Separates safe from findable.
Senior
Must show
- Feeds the index with versions
- Rebuilds behind an alias
- Weighs refresh and merge cost
Will be probed on
- Scores on shards
- Bulk loads
Stands out
Gives numbers for lists sent over the network.
Staff
Must show
- Plans reindexing as routine
- Chooses freshness with the product
- Handles tenants and hot terms
Will be probed on
- Cost for each document
- Language support
Stands out
Measures result quality before and after a change.