01Chapter 1: How AI search differs from classic searchThis chapter assumes you know the basics of how a traditional search engine works. You should know what a query, a results page, a ranking and a click are. You should also have used an AI chat or AI search product, such as an assistant that answers questions with linked sources. You do not need to p6 min read
02Chapter 2: Why a language model cannot answer from memory aloneThis chapter assumes you have used an AI chat or AI search product and know the basics of traditional search and SEO. You don't need to program. The short code sketch is there to make one idea concrete.6 min read
03Chapter 3: Retrieval-augmented generation in plain termsThis chapter assumes you have used an AI chat or AI search product and know the basics of traditional search and SEO. You do not need to program. The short code sketch is there to make the pipeline concrete.5 min read
04Chapter 4: From a prompt to an intentBefore an AI search system retrieves anything, it has to decide what the user is asking for. This chapter covers that step: how a raw prompt becomes an intent, what signals feed into it, and why it matters for the content you publish.6 min read
05Chapter 5: Query fan-out: one question, many searchesThis chapter assumes you know how a traditional search engine ranks pages and what a search query is. It also assumes you have used an AI chat or AI search product. You don't need to program. The short code sketches are there to make the ideas concrete.5 min read
06Chapter 6: The kinds of sub-queries a system may generateThis chapter assumes you know what query fan-out is (one prompt expanded into several narrower searches), and that you have a working picture of retrieval-augmented generation. It covers the kinds of sub-queries a system may produce, how to map a topic to them, and where this mapping stops being rel5 min read
07Chapter 7: Lexical retrieval: matching the wordsThis chapter assumes you know what retrieval-augmented generation is, and that a system may split one prompt into several sub-queries (query fan-out). You don't need to program. The short code sketches are there to make the ideas concrete.6 min read
08Chapter 8: Semantic retrieval: matching the meaningThis chapter assumes you know the retrieval-augmented generation (RAG) loop from earlier chapters: the system retrieves passages, then a language model writes an answer from them. It also assumes you have read the chapter on lexical retrieval. No programming is needed, though one short Python sketch5 min read
09Chapter 9: Hybrid retrieval: combining both signalsThis chapter assumes you have read the two previous chapters, on lexical retrieval (matching the words) and semantic retrieval (matching the meaning). You should know that a lexical search scores documents by shared terms and that a semantic search compares embeddings, which are lists of numbers tha5 min read
10Chapter 10: Passages and chunking: what actually gets retrievedThis chapter assumes you know the basics from earlier chapters: retrieval-augmented generation (RAG), the difference between lexical and semantic retrieval, and the idea that an AI search system may split one prompt into several sub-queries. Here we look at the unit that retrieval returns. In most R5 min read
11Chapter 11: Merging the results of many searchesThis chapter assumes you have read the chapters on query fan-out and on hybrid retrieval. You should know that one prompt can become several narrower searches, and that each search returns a ranked list of passages. The code uses basic Python, but you can follow the ideas without running it.5 min read
12Chapter 12: Reranking: choosing the best passagesThis chapter assumes you know the earlier stages: a prompt is expanded by query fan-out, each sub-query is run against a lexical, semantic or hybrid index, documents are split into passages, and the result lists are merged. Reranking comes next. It decides which of the merged candidates the answer-w5 min read
13Chapter 13: Writing the answer and choosing sources to citeThis chapter covers the last step of the pipeline: how a system turns reranked passages into a written answer and decides which sources to name. It assumes you know the earlier chapters: retrieval-augmented generation, query fan-out, passage chunking, rank fusion and reranking. It also assumes you h6 min read
14Chapter 14: What this means for your contentThis chapter assumes you have read the earlier chapters on retrieval-augmented generation (RAG), query fan-out, lexical and semantic retrieval, and passage chunking. It turns those mechanics into content decisions. It also marks which advice rests on documented behaviour and which rests on inference5 min read
15Chapter 15: Auditing a page against likely sub-questionsThis chapter assumes you have read the earlier chapters on query fan-out, the kinds of sub-queries, and passage chunking. You should know that a system may split one prompt into several narrower searches and that it retrieves passages, not whole pages. No programming is required to follow the method5 min read
16Chapter 16: Measuring AI search visibilityThis chapter assumes you have read the earlier chapters on retrieval-augmented generation, query fan-out, passages and citation. It also assumes you can read a short Python script. You will learn what can be measured about your visibility in AI answers, what cannot, and how to build a measurement ro6 min read
17Chapter 17: What is known, what is inferred, and what variesThis chapter assumes you have read the earlier chapters on retrieval-augmented generation (RAG), query fan-out, passage retrieval, reranking and measurement. It gives you a way to sort claims about AI search into three groups: documented, inferred and unknown. Use that sorting before you change a co6 min read