AlgoViz

Rewriting, filtering and re-ranking

medium 6 min

Query rewriting and expansion change what enters retrieval.

Trace the example

Follow the evidence through each stage, then test a change in the case.

The most relevant exception starts at rank eight

The most relevant exception starts at rank eight. Selected component: Shortlist inside Retrieval service.
Open full-size diagram

Retrieval service

20 authorized passages

One candidate contains the exception for international returns. A cheap retriever placed it eighth.

The correct passage was ranked 21st and only 20 were submitted to the reranker. Can reranking recover it?