How AI Search Works: Retrieval, Ranking and Citation
AI search is a multi-stage pipeline: it retrieves candidate pages, ranks the passages inside them, and generates an answer that cites the ones it can quote with confidence. It is a pipeline, not a single ranking, and each stage decides whether your page survives to the next.
Understanding the stages tells you where a page gets dropped — and every fix in generative engine optimization maps to one of them.
The four stages
Most answer engines follow the same shape, whether they retrieve live or from an index:
- Retrieval: a search — often a live web query — pulls a shortlist of candidate pages for the question.
- Chunking: each page is split into passages, because the engine cites passages, not whole documents.
- Ranking: passages are scored for relevance and how self-contained and quotable they are.
- Generation: the model writes an answer and attaches citations to the passages it actually leaned on.
Where pages get dropped
A page blocked from AI crawlers never enters retrieval, which is why getting cited by AI starts with crawler access. A page that loads its content with JavaScript often reaches retrieval as an empty shell, with nothing to chunk.
A page that survives to ranking but buries its answer in three paragraphs of preamble loses to a competitor that states the answer in its first sentence — the passage is cleaner to lift.
What this means for your page
Optimising for AI search is optimising each stage in turn: be fetchable, be chunkable, be quotable. The tactics are concrete, and most overlap with good technical SEO — the difference is that the unit of success is a passage an engine can stand behind, not a link it can list.
