How AI Search Works
How AI search discovers sources, retrieves and reranks evidence, generates grounded answers, attaches citations, and handles freshness and uncertainty.
AI search is not one model reading the live web from scratch. A typical system combines source discovery and indexing with query understanding, optional decomposition or fan-out, lexical and/or vector retrieval, ranking and reranking, and a generative model that answers from selected context. Grounding and retrieval-augmented generation can bring current, attributable evidence into the response, but they do not guarantee that retrieval is complete, synthesis is faithful, or citations support every statement. Freshness depends on the source, crawl or connector, index, retrieval time, caches, and any model knowledge used. Product implementations differ and most providers do not disclose their full architecture, so this guide explains the defensible common pipeline and routes each component to the site's dedicated deep dive.
TL;DR — AI searchAI search uses large language models and retrieval-augmented generation (RAG) to synthesize an answer from multiple sources rather than returning a ranked list of links. Examples include Google AI Overviews, ChatGPT Search, and Perplexity. usually combines a search system and a language model. The search side finds and orders useful sources. The model side reads a limited set of retrieved material and writes an answer. Some systems break a hard question into smaller searches, mix keyword and meaning-based retrieval, rerank the candidates, and show citations. That process can improve freshness and traceability, but it can still miss a source, misunderstand evidence, or write an unsupported claim.
The shortest useful explanation
Classic web search usually returns a ranked set of results. AI searchAI search uses large language models and retrieval-augmented generation (RAG) to synthesize an answer from multiple sources rather than returning a ranked list of links. Examples include Google AI Overviews, ChatGPT Search, and Perplexity. can add another layer: retrieve evidence and use a generative model to compose a direct answer.
A defensible generic pipeline looks like this:
- discover or receive sources;
- parse, indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed., and represent their contents;
- understand the user’s question;
- optionally split it into subquestions;
- retrieve candidate documents or passages;
- rank and rerank the candidates;
- place selected evidence into the model’s context;
- generate an answer constrained by that context and product rules;
- attach supporting links or citations;
- evaluate quality, safety, freshness, and uncertainty.
Products can add tools, commerce feeds, knowledge graphsThe Knowledge Graph is Google's database of entities — people, places, organizations, and things — and the factual relationships between them. It's separate from any single website's structured data: your schema markup is one of many possible inputs to the graph, not the graph itself., databases, user files, location, conversation history, or live camera input. They can also skip or combine stages. The pipeline is a mental model—not a claim that Google, ChatGPT, Copilot, Perplexity, or another product uses identical internals.
1. Source discovery and crawling
An AI answer can only retrieve from sources the system can access. Sources may enter through:
- web crawlersA crawler — also called a spider or bot — is an automated program that fetches web pages, extracts their links, and queues new URLs to visit. Search engines use crawlers to discover and download content for their index. following links and sitemapsA sitemap is a file that lists the pages, images, videos, and other files on your site so search engines can discover them. It helps discovery, but submitting a sitemap doesn't guarantee crawling or indexing.;
- a search provider’s existing web index;
- licensed or partner datasets;
- product catalogs and structured feeds;
- first-party databases and knowledge bases;
- user-uploaded files;
- tools that fetch a page at request time.
Google’s current How Search works documentation describes the web-search foundation as crawlingCrawling is how search engines use automated bots (like Googlebot and Bingbot) to discover URLs and download pages. A page has to be crawlable to be indexed, but crawling on its own isn't a ranking factor., indexingStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed., and serving. OpenAI’s web-search documentation describes a search tool that can bring web information and cited sources into a model response. Those are product examples, not proof of a universal crawlerA crawler — also called a spider or bot — is an automated program that fetches web pages, extracts their links, and queues new URLs to visit. Search engines use crawlers to discover and download content for their index. or shared index.
Go deeper: AI crawlersAI crawlers are bots from AI companies that fetch web pages to train language models, build AI-search indexes, or answer live user questions. They come in three categories, each with its own user-agent tokens and its own robots.txt controls. explains crawler purposes and controls; AI crawler log analysisAI crawler log analysis is the practice of pulling raw server or CDN access logs and examining them for requests from AI bots — training crawlers, AI-search indexers, and user-triggered fetchers — to verify with first-party data which bots actually hit your site, whether they're real or spoofed, and what they got. explains what a verified request can and cannot prove.
2. Indexing, chunks, and knowledge representations
Fetched material is parsed and stored so it can be searched efficiently. A system may keep several representations:
- an inverted index for words and fields;
- passages or chunks for focused retrieval;
- vectors produced by embeddingEmbeddings are dense numerical vectors — lists of floating-point numbers — that represent the meaning of text in a high-dimensional space. Semantically similar content lands close together, so search and AI systems can match by meaning, not just keywords. models;
- structured facts, entities, relationships, and metadata;
- freshness, language, location, policy, access, and quality signals;
- links back to the original source and location.
Chunk sizeChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking. and boundaries matter because the retriever may never hand the generator a whole document. A clear answer buried across unrelated sections can be harder to retrieve as one coherent unit.
Go deeper: chunkingChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking., embeddingsEmbeddings are dense numerical vectors — lists of floating-point numbers — that represent the meaning of text in a high-dimensional space. Semantically similar content lands close together, so search and AI systems can match by meaning, not just keywords., and tokens and context windowsA token is the smallest unit of text (or image/audio/video) an LLM processes — roughly 4 characters, or about ¾ of an English word. A context window is the maximum number of tokens (input plus output) a model can hold at once, like its short-term memory..
3. Query understanding and fan-out
The system interprets the request, conversation, language, location, and constraints. It may rewrite the query, identify entities, or decompose a complex task into several retrieval questions.
Google explicitly says AI OverviewsAI Overviews are the AI-generated summary box Google shows above or within its regular search results, written by Gemini models from pages retrieved out of Google's normal Search index. It's a Search feature, not a separate platform or index. and AI Mode may use query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics., issuing multiple related searches across subtopics and data sources. That is a documented Google behavior, not evidence that every AI search product fans out every query or uses a fixed number of subqueries.
Go deeper: query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics. and semantic searchSemantic search is meaning-based retrieval — matching what a user means, not just the words they typed. Search engines detect entities, expand synonyms, infer intent, and rank by conceptual relevance, which is why keyword stuffing lost its power and topical depth gained it..
4. Retrieval: lexical, vector, or hybrid
Retrieval is the high-recall stage that creates a manageable candidate set.
- Lexical retrieval rewards exact words and term patterns. It is useful for names, codes, quotations, and precise terminology.
- Vector retrieval compares embedding representations and can find semantic similarity when wording differs.
- Hybrid retrieval runs both and combines their result lists.
Microsoft’s current hybrid-search documentation is a concrete implementation example: text and vector queries execute together and their results are merged. Research also finds lexical and semantic retrieval can produce complementary candidate sets, but the size of the gain depends on the corpus, queries, models, and evaluation.
Go deeper: vector searchVector search finds content by comparing the meaning of a query against stored content as numerical vectors, retrieving the closest ones in a high-dimensional embedding space. At scale it uses approximate nearest neighbor (ANN) algorithms — not exact comparison — to search billions of vectors in milliseconds. and hybrid searchHybrid search runs keyword (lexical/BM25) search and vector (semantic) search together, then merges the two result lists into one ranking — commonly with Reciprocal Rank Fusion — so it catches both exact-term matches and meaning-based matches that either method alone would miss..
5. Ranking and reranking
Retrieval favors recall: find enough plausible candidates. Ranking and rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. favor precision: put the most useful candidates near the top for this question.
A system might:
- score lexical relevance;
- score vector similarity;
- fuse multiple result lists;
- apply freshness, language, geography, authority, safety, or access filters;
- use a more expensive semantic model on only the top candidates;
- select diverse passages that cover different parts of the task.
Microsoft’s semantic ranker documentation shows the pattern clearly: an initial result set is passed to a more expensive language-understanding stage for rescoring. That product’s limits and scores are not universal AI-search constants.
Go deeper: rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. and passage rankingPassage ranking is a Google AI system that scores individual sections ('passages') of a page so a single page can earn multiple relevance scores for different queries. Google still indexes whole pages — only the ranking changed..
6. Grounding and RAG
The selected passages, data, or tool outputs are placed into the model’s available context. The model then generates an answer using that evidence plus its instructions and any permitted internal knowledge.
This pattern is usually called retrieval-augmented generation (RAG). The original RAG paper described combining a model’s parametric memory with retrieved non-parametric memory. In production, “RAG” covers many designs, from one vector lookup to multi-stage search, reranking, tools, and iterative retrieval.
Grounded should mean the response is constrained by identified evidence. It should not be used as a synonym for “guaranteed true.” The retriever may miss the best source, the source may be wrong or stale, and the generator may misstate what it received.
Go deeper: groundingGrounding is anchoring an AI model's answer to source documents it retrieves at the moment you ask — not to the patterns frozen into its weights during training. Retrieval-Augmented Generation (RAG) is the most common way to do it. and RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights..
7. Answer generation and citations
The model composes a response appropriate to the interface: prose, steps, a table, links, images, a product card, or another generated layout. A citation layer then associates claims or passages with sources selected by the product.
Keep three questions separate:
- Was the source retrieved? A fetch or candidate may have occurred.
- Did the source influence the answer? The available context and generation path may not be observable.
- Does the displayed citation support the attached claim? This requires checking the source against the exact statement.
Research on generative-search verifiability found citation completeness and support problems in the products and 2023 sample it studied. Treat those findings as a dated audit, not a permanent error rate for today’s systems.
Go deeper: AI citationsAn AI citation is the visible source link an AI answer engine shows next to its generated text — the clickable reference that credits the web page it used. A citation's presence is a separate thing from whether the cited page actually supports the statement, and from being retrieved (read behind the scenes) or merely mentioned (named without a link); citation is driven more by brand mentions and being retrievable than by traditional ranking. and retrieved, mentioned, citedThree distinct states of AI visibility: retrieved (an AI fetched your page as source material), mentioned (your brand appears in the answer text), and cited (your URL is linked as a source). They don't always happen together, and each is measured with a different tool..
8. Freshness and knowledge cutoffs
“Current” is a chain, not a switch. An answer can be limited by:
- when the original source changed;
- when a crawler or connector fetched it;
- when the index or vector representation refreshed;
- whether retrieval ran for this request;
- caches and product update schedules;
- the model’s parametric knowledge cutoffA knowledge cutoff (or training data cutoff) is the date after which an LLM was no longer trained on new data. The model has no awareness of anything that happened later — unless the system bolts on live retrieval (RAG/web search) to fetch it at query time.;
- whether the model chose the fresh evidence over older patterns.
Retrieval can make newer evidence available without retraining the language model, but it does not guarantee the freshest source was discovered, indexed, retrieved, or used. Always check dates and primary evidence for time-sensitive decisions.
Go deeper: content freshnessContent freshness is how recent or up-to-date a page is — by its original publish date, its last substantive revision, or the currency of the facts inside it. It only helps rankings when the query itself benefits from recent results (Query Deserves Freshness), and cosmetic date changes with no real update don't count. and knowledge cutoffsA knowledge cutoff (or training data cutoff) is the date after which an LLM was no longer trained on new data. The model has no awareness of anything that happened later — unless the system bolts on live retrieval (RAG/web search) to fetch it at query time..
9. Multimodal search
The query and evidence do not have to be text. Systems can accept and retrieve images, audio, video, camera input, or combinations of media and text. They may create text and visual representations, recognize objects or scenes, fan out subqueries, and generate a mixed-format response.
Google’s official multimodal AI Mode announcement describes using Lens and Gemini to understand an image, identify its components, and issue multiple related searches. That describes one product implementation and rollout, not a standard shared by every AI search engine.
Go deeper: multimodal searchMultimodal search lets you query and get results across more than one modality — text, images, video, and audio together. Instead of typing words, you can point your camera, circle something on screen, or combine an image with a question, and the system understands them jointly..
10. Uncertainty and hallucinations
Every stage can introduce uncertainty:
- discovery misses the source;
- parsing loses context;
- chunks split the evidence badly;
- query decomposition asks the wrong subquestion;
- retrieval returns a plausible but irrelevant passage;
- reranking promotes an incomplete source;
- the source itself is wrong or outdated;
- generation contradicts, overextends, or invents beyond the evidence;
- citation placement implies support that is not present.
NIST’s Generative AI Profile treats confidently presented false or erroneous content as a risk commonly called confabulation. RAG reduces some failure modes by supplying evidence, but it adds retrieval and integration failure modes of its own.
Go deeper: AI hallucinationsAn AI hallucination is when a large language model generates output that is confidently stated but factually wrong, made up, or unsupported by its source. It's a side effect of next-token prediction — not a bug that can be fully eliminated. and AI hallucination monitoringAI hallucination monitoring is the practice of systematically detecting, documenting, and fixing instances where AI search tools and chatbots fabricate or misrepresent facts about your brand — wrong pricing, invented quotes, made-up URLs, and the like..
TL;DR — An AI-search system is an evidence pipeline under latency and context constraints. Source acquisition creates a versioned corpus; lexical, vector, graph, and tool representations support candidate generation; query planning may branch; retrieval optimizes recall; rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. and context assembly optimize precision and coverage; the generator composes under instructions; and attribution maps output claims back to sources. Quality must be evaluated per stage because a fluent final answer cannot reveal where evidence was lost.
Treat AI search as an evidence supply chain
The output can only be as reliable as the chain that produced it. Record the stages as a lineage:
| Stage | Input | Output | Common hidden variable |
|---|---|---|---|
| Acquisition | URLs, feeds, files, tools | fetched source versions | access, crawl timing, permissions |
| Parsing/indexingStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed. | source bytes and metadata | searchable fields, chunks, vectors, entities | extraction loss and chunk boundaries |
| Query planning | user request and context | rewritten query, filters, subqueries | intent interpretation |
| Retrieval | query representations and indexes | candidate passages/documents | recall, filter order, candidate depth |
| RerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. | candidates | ordered and diversified evidence | model, latency, truncation |
| Context assembly | ranked evidence and instructions | finite model input | tokenA token is the smallest unit of text (or image/audio/video) an LLM processes — roughly 4 characters, or about ¾ of an English word. A context window is the maximum number of tokens (input plus output) a model can hold at once, like its short-term memory. budget and deduplication |
| Generation | context | answer tokens and tool calls | model behavior and decoding |
| Attribution | answer and provenance | citations or source list | claim-source alignment |
| Evaluation | answer, sources, policy | scores, feedback, guardrails | benchmark and reviewer definitions |
Without this lineage, “the AI got it wrong” is not a diagnosis.
Source acquisition is broader than crawling
Web crawlingCrawling is how search engines use automated bots (like Googlebot and Bingbot) to discover URLs and download pages. A page has to be crawlable to be indexed, but crawling on its own isn't a ranking factor. is only one acquisition route. Enterprise and product search may blend:
- a web index;
- internal document connectors;
- databases and APIs;
- knowledge-graph lookups;
- commerce, travel, local, or other vertical feeds;
- user files and conversation attachments;
- live tool calls.
Each route has its own permissions, timestamps, deduplication, and provenance. A system may retrieve the same fact from a web page, a feed, and a graph with different update times. “The source” is therefore a versioned record, not only a URL.
Index several representations for different jobs
Lexical indexes preserve exact strings and field statistics. Dense vectors encode model-dependent similarity. Sparse learned representations can bridge some semantic and lexical behavior. Graphs preserve explicit entities and relationships. Metadata supports filters, permissions, language, geography, dates, and source classes.
No representation is universally best. Exact product identifiersProduct identifiers are the standardized values — GTIN (Global Trade Item Number), MPN (Manufacturer Part Number), and brand — that shopping feeds like Google Merchant Center and Microsoft Merchant Center use to match a product listing to the correct item in their catalog. A GTIN alone is usually enough; without one, brand + MPN is the fallback; products with none declare that with the identifier_exists attribute., legal citations, and error codes benefit from lexical matching. Paraphrases and conceptually related questions can benefit from dense retrieval. Structured constraints should remain explicit rather than being inferred from vector proximity.
The hybrid retrieval research is useful evidence that semantic and lexical candidate sets can complement one another on a tested collection. It is not proof that one fusion design wins every corpus.
Query planning changes the retrieval target
A conversational request may contain several tasks, implied comparisons, temporal constraints, and follow-up context. Planning can produce:
- a rewritten standalone query;
- named-entity or intent constraints;
- subqueries for separate facets;
- source-type or tool selections;
- an iterative plan where early evidence triggers later retrieval.
Google’s documented query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics. provides one public example. Microsoft Azure AI Search’s semantic ranker provides another documented example of query rewrite variants before rescoring. Do not infer provider-wide architecture from either implementation.
Candidate generation and reranking have different objectives
Candidate generation is usually cheap enough to search a large corpus and broad enough to preserve recall. Reranking is more expensive, sees fewer items, and can evaluate deeper query-document interactions.
This creates a hard ceiling: a reranker cannot rescue a relevant source that retrieval never included. Microsoft explicitly documents that its semantic ranker reranks an existing top set rather than searching the whole corpus again. Other systems may use different depths, models, and iterative retrieval.
For publishers, the practical lesson is not “write for a reranker.” It is to make important facts discoverable, self-contained enough to survive chunkingChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking., exact where exactness matters, and semantically clear without separating qualifiers from claims.
Context assembly is an allocation problem
The system has more candidate evidence than it can send to the generator. It must allocate a finite context budget across:
- system and safety instructions;
- conversation history;
- tool definitions and outputs;
- retrieved sources;
- diverse subtopics;
- source metadata and citation markers;
- room for the generated response.
Deduplication, passage diversity, ordering, compressionCompression (HTTP content encoding) shrinks text-based responses — HTML, CSS, JS, JSON, SVG, XML sitemaps — before they're sent over the network, using an algorithm like Gzip, Brotli, or Zstd, so the browser or crawler downloads fewer bytes. It's not a ranking factor, but it speeds up page loads and helps pages stay under crawler fetch limits., and truncation can change what the model sees. A source can rank well but lose its decisive qualifier during passage selection. That is why page-level retrieval and answer-level support are different.
Grounding quality has several dimensions
Evaluate at least:
- Retrieval relevance: did the candidates address the question?
- Retrieval coverage: did they cover every material subquestion?
- Source quality: were the sources authoritative for the claim and current enough?
- Faithfulness: did the answer stay within the supplied evidence?
- Factuality: is the claim true against appropriate external reference evidence?
- Citation entailment: does each cited source support the associated claim?
- Citation completeness: are material externally verifiable claims cited?
- Calibration: does the answer express uncertainty when evidence is weak or conflicting?
A response can be faithful to a bad source and still be factually wrong. It can be factually right from model memory but unsupported by the shown citations. Keep the dimensions separate.
Citations are a product layer, not proof of causality
Citation construction can happen during generation, after generation, or through a separate claim-source alignment pass. Public interfaces usually do not reveal which retrieved passages entered model context, which tokens they influenced, or why one source received visible credit.
Therefore:
- a crawlerA crawler — also called a spider or bot — is an automated program that fetches web pages, extracts their links, and queues new URLs to visit. Search engines use crawlers to discover and download content for their index. request is evidence of a request, not a citation;
- a citation is visible attribution, not proof of ranking;
- a source list is not proof every claim is supported;
- a mentioned brand is not necessarily a linked source;
- a click is a later user behavior, not evidence of how generation worked.
Freshness has multiple clocks
Track separate timestamps for source publication, source update, acquisition, parsing, index commit, embedding generation, retrieval, answer generation, and evaluation.
An old source can still be correct. A newly crawled page can contain stale facts. A live search can retrieve a cached representation. A model with an older parametric cutoff can still answer from newer retrieved evidence, yet fall back to older patterns when retrieval is incomplete.
For time-sensitive answers, the generator should prefer dated primary sources, expose the effective date, surface conflicts, and abstain or qualify when the evidence cannot resolve them.
Multimodal retrieval adds alignment problems
Multimodal systems may index images and text into shared or linked representations, use vision models to identify regions or objects, transcribe audio, sample video, and retrieve across modalities. The system must preserve relationships among a media item, its caption, surrounding page, timestamp, creator, and source rights.
A visually similar image is not necessarily evidence for the same fact. A transcript can omit visual qualifications. A cropped object can lose scene context. Evaluate both retrieval relevance and cross-modal groundingGrounding is anchoring an AI model's answer to source documents it retrieves at the moment you ask — not to the patterns frozen into its weights during training. Retrieval-Augmented Generation (RAG) is the most common way to do it..
Route depth to the spokes
This hub owns the end-to-end architecture. These pages own implementation depth:
- LLMsA large language model (LLM) is a deep-learning model trained on massive text corpora to predict the next token and generate human-like text. LLMs use the transformer architecture and power AI search features like Google's AI Overviews (Gemini) and Bing Copilot (GPT-4). and tokens/context windowsA token is the smallest unit of text (or image/audio/video) an LLM processes — roughly 4 characters, or about ¾ of an English word. A context window is the maximum number of tokens (input plus output) a model can hold at once, like its short-term memory.
- query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics.
- chunkingChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking. and embeddingsEmbeddings are dense numerical vectors — lists of floating-point numbers — that represent the meaning of text in a high-dimensional space. Semantically similar content lands close together, so search and AI systems can match by meaning, not just keywords.
- semantic searchSemantic search is meaning-based retrieval — matching what a user means, not just the words they typed. Search engines detect entities, expand synonyms, infer intent, and rank by conceptual relevance, which is why keyword stuffing lost its power and topical depth gained it., vector searchVector search finds content by comparing the meaning of a query against stored content as numerical vectors, retrieving the closest ones in a high-dimensional embedding space. At scale it uses approximate nearest neighbor (ANN) algorithms — not exact comparison — to search billions of vectors in milliseconds., and hybrid searchHybrid search runs keyword (lexical/BM25) search and vector (semantic) search together, then merges the two result lists into one ranking — commonly with Reciprocal Rank Fusion — so it catches both exact-term matches and meaning-based matches that either method alone would miss.
- passage rankingPassage ranking is a Google AI system that scores individual sections ('passages') of a page so a single page can earn multiple relevance scores for different queries. Google still indexes whole pages — only the ranking changed. and rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM.
- groundingGrounding is anchoring an AI model's answer to source documents it retrieves at the moment you ask — not to the patterns frozen into its weights during training. Retrieval-Augmented Generation (RAG) is the most common way to do it. and RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights.
- AI citationsAn AI citation is the visible source link an AI answer engine shows next to its generated text — the clickable reference that credits the web page it used. A citation's presence is a separate thing from whether the cited page actually supports the statement, and from being retrieved (read behind the scenes) or merely mentioned (named without a link); citation is driven more by brand mentions and being retrievable than by traditional ranking.
- freshnessContent freshness is how recent or up-to-date a page is — by its original publish date, its last substantive revision, or the currency of the facts inside it. It only helps rankings when the query itself benefits from recent results (Query Deserves Freshness), and cosmetic date changes with no real update don't count. and knowledge cutoffsA knowledge cutoff (or training data cutoff) is the date after which an LLM was no longer trained on new data. The model has no awareness of anything that happened later — unless the system bolts on live retrieval (RAG/web search) to fetch it at query time.
- multimodal searchMultimodal search lets you query and get results across more than one modality — text, images, video, and audio together. Instead of typing words, you can point your camera, circle something on screen, or combine an image with a question, and the system understands them jointly.
- AI hallucinationsAn AI hallucination is when a large language model generates output that is confidently stated but factually wrong, made up, or unsupported by its source. It's a side effect of next-token prediction — not a bug that can be fully eliminated.
- AI OverviewsAI Overviews are the AI-generated summary box Google shows above or within its regular search results, written by Gemini models from pages retrieved out of Google's normal Search index. It's a Search feature, not a separate platform or index. for one product-specific application
The executive view
AI searchAI search uses large language models and retrieval-augmented generation (RAG) to synthesize an answer from multiple sources rather than returning a ranked list of links. Examples include Google AI Overviews, ChatGPT Search, and Perplexity. is a chain of systems, vendors, data, and decisions—not a single model. The business risks and opportunities sit throughout that chain:
- coverage risk: useful sources are absent or inaccessible;
- freshness risk: source and indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed. clocks do not match the decision;
- retrieval risk: relevant evidence never reaches the model;
- synthesis risk: the model overstates or distorts the evidence;
- attribution risk: citations are missing, misplaced, or unsupported;
- measurement risk: visibility, citation, traffic, and conversion are conflated;
- governance risk: no owner can reproduce or correct the answer path.
Do not approve “RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights. added” as a complete accuracy control. Require stage-level evaluation, source lineage, access controls, dated test sets, human escalation for high-impact decisions, and a recovery path for bad sources and outputs.
For publishing strategy, continue to fund crawlable, indexable, clear, current, well-sourced content. Google states there are no additional technical requirements for its AI features beyond normal Search eligibility. Visibility remains a product outcome, not a markup entitlement.
How AI search works, compressed
- Sources are crawled, connected, uploaded, licensed, or fetched through tools.
- Systems parse them into searchable fields, chunks, lexical indexes, vectors, entities, and metadata.
- The query is interpreted and may be rewritten or decomposed into subqueries.
- Lexical, vector, graph, or hybrid retrievalHybrid search runs keyword (lexical/BM25) search and vector (semantic) search together, then merges the two result lists into one ranking — commonly with Reciprocal Rank Fusion — so it catches both exact-term matches and meaning-based matches that either method alone would miss. creates candidates.
- Ranking and rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. choose a smaller, more relevant and diverse evidence set.
- RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights./groundingGrounding is anchoring an AI model's answer to source documents it retrieves at the moment you ask — not to the patterns frozen into its weights during training. Retrieval-Augmented Generation (RAG) is the most common way to do it. places selected evidence in the model’s finite context.
- The model generates an answer under product and safety instructions.
- An attribution layer displays citations or sources.
- Freshness depends on several source/indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed./retrieval/model clocks.
- Every stage can fail; grounded and cited do not mean guaranteed true.
Provider architectures differ. Public documentation supports parts of this model, not a claim that every commercial system implements the same pipeline.
Primary and research sources
Platform documentation
- Google: How Search works — crawlingCrawling is how search engines use automated bots (like Googlebot and Bingbot) to discover URLs and download pages. A page has to be crawlable to be indexed, but crawling on its own isn't a ranking factor., indexingStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed., and serving for the web-search foundation.
- Google: AI features and your website — query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics., supporting links, index/snippet eligibility, and no additional technical requirements.
- Google: Multimodal search in AI Mode — a product example combining image understanding, object identification, and fan-out.
- OpenAI: Web search tool — current web retrieval, citations, and source exposure in an API product.
- Microsoft: Hybrid search — concurrent text/vector retrieval and result fusion.
- Microsoft: Semantic ranker — query rewrite and rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. of an existing candidate set.
- NIST Generative AI Profile — risk-management framing for confabulation and other generative-AI risks.
Qualified research
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks — foundational RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights. architecture and evaluation on specified tasks.
- Hybrid lexical and semantic retrieval — complementary retrieval evidence on a tested collection.
- Evaluating Verifiability in Generative Search Engines — a dated 2023 audit of citation support and completeness; not a current universal rate.
- Seven Failure Points When Engineering a RAG System — experience-report evidence that RAG inherits retrieval and model failure modes.
Explain an AI-search system without overclaiming
- Name the product, surface, country, access tier, date, and query mode.
- Separate documented behavior from a generic architecture or inference.
- Identify source acquisition routes and their access rules.
- Record source, acquisition, indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed., retrieval, and answer timestamps where available.
- Distinguish document retrieval, passage retrievalChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking., model context, and visible citation.
- State whether retrieval is lexical, vector, hybrid, graph, tool-based, or unknown.
- Evaluate retrieval before evaluating generation.
- Check each material claim against the cited source, not only the source list.
- Separate citation visibility, referral traffic, and business outcomes.
- Test conflicting, missing, stale, and adversarial evidence.
- Provide an abstention or escalation path when evidence is insufficient.
The S-Q-R-G-C framework
S — Sources
What corpora, feeds, tools, and versions are available? Who controls access and freshness?
Q — Query plan
How is the request interpreted, rewritten, decomposed, filtered, and routed?
R — Retrieval and reranking
Which representations generate candidates, and which models or rules narrow them?
G — Grounded generation
What evidence enters context, what instructions constrain the model, and when should it abstain?
C — Citations and checks
How are claims attributed, verified, monitored, corrected, and measured?
Use the framework to locate evidence and ownership. Do not turn it into a score that pretends unknown internals were observed.
Where did the answer fail?
Was the authoritative source available to the system?
- No or unknown → investigate crawl, connector, permissions, feed, and indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed. coverage.
- Yes → continue.
Was the correct passage retrieved for the actual query or subquery?
- No → inspect query planning, chunks, filters, lexical/vector recall, and freshness.
- Yes → continue.
Did rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. and context assembly preserve the decisive evidence and qualifiers?
- No → inspect candidate depth, diversity, truncation, deduplication, and ordering.
- Yes → continue.
Did the answer stay faithful to the supplied evidence?
- No → inspect instructions, model behavior, conflicts, and abstention logic.
- Yes → continue.
Do the displayed citations entail the attached claims?
- No → repair claim-source alignment and citation generation.
- Yes → evaluate factuality, completeness, calibration, safety, and the user’s outcome.
AI-search anti-patterns
- “The LLMA large language model (LLM) is a deep-learning model trained on massive text corpora to predict the next token and generate human-like text. LLMs use the transformer architecture and power AI search features like Google's AI Overviews (Gemini) and Bing Copilot (GPT-4). searched the internet.” Name the search tool, indexStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed., connector, or unknown acquisition route instead of assigning every stage to the model.
- “Vector searchVector search finds content by comparing the meaning of a query against stored content as numerical vectors, retrieving the closest ones in a high-dimensional embedding space. At scale it uses approximate nearest neighbor (ANN) algorithms — not exact comparison — to search billions of vectors in milliseconds. replaced keywords.” Exact and semantic retrieval solve different recall problems; many production examples combine them.
- “The top-ranked page becomes the citation.” Fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics., passage retrievalChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking., rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM., and generation can produce different source sets.
- “RAGRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights. eliminates hallucinationsAn AI hallucination is when a large language model generates output that is confidently stated but factually wrong, made up, or unsupported by its source. It's a side effect of next-token prediction — not a bug that can be fully eliminated..” Retrieval adds evidence and provenance but can fail before, during, and after generation.
- “A citation proves support.” Read the cited passage against the specific claim.
- “Live search means current.” Source, acquisition, index, retrieval, and cache clocks can differ.
- “All AI searchAI search uses large language models and retrieval-augmented generation (RAG) to synthesize an answer from multiple sources rather than returning a ranked list of links. Examples include Google AI Overviews, ChatGPT Search, and Perplexity. engines use this exact pipeline.” Keep provider-specific facts separate from the generic mental model.
- “One visibility number explains performance.” Mentions, citations, referrals, conversions, and corrected factual answers are different outcomes.
Common symptoms and recovery paths
The system cites an irrelevant page
- Verify: compare the query, retrieved passage, attached claim, and source date.
- Likely layers: query plan, retrieval, rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM., or attribution.
- Recovery: improve source fields/chunks, retrieval tests, rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM., and claim-source alignment.
The right source is indexed but absent
- Verify: “indexedStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed.” in which system and version? Was the source eligible for this product, filter, locale, and time?
- Likely layers: query representation, candidate depth, filters, or reranking.
- Recovery: reproduce with a labeled query set and inspect each stage; do not infer a penalty from one output.
The answer uses stale facts despite live retrieval
- Verify: source update, fetch, index, cache, retrieval, and answer timestamps.
- Likely layers: freshness metadata, ranking, context selection, or fallback to parametric knowledge.
- Recovery: prioritize dated primary sources, refresh representations, expose dates, and abstain on unresolved conflicts.
Citations exist but do not support the claims
- Verify: assess entailment claim by claim.
- Likely layers: generation or attribution.
- Recovery: generate from explicit evidence spans, run a separate support check, and remove unsupported statements rather than adding nearby links.
Multimodal input produces the wrong object or context
- Verify: inspect the selected image region, OCR/transcript, object labels, surrounding page, and follow-up queries.
- Likely layers: perception, cross-modal representation, retrieval, or generation.
- Recovery: allow user correction, preserve scene context, and retrieve corroborating text or structured evidence.
Test the pipeline stage by stage
Retrieval recall test
- Build a dated set of queries with known relevant sources and passages.
- Measure whether the expected evidence enters the candidate set before rerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM..
- Segment misses by exact terms, paraphrases, entities, dates, locale, and modality.
Reranking test
- Hold the candidate set constant and compare whether the decisive passages survive the selected top set.
- Include multi-part questions where diversity matters more than one repeated source.
Faithfulness test
- Give reviewers the answer and the exact context supplied to the model.
- Mark supported, contradicted, and unsupported claims.
- Test whether the system abstains when the context cannot answer.
Citation test
- Check citation existence, placement, entailment, and completeness separately.
- Do not count a source-list URL as support for every sentence in the answer.
Freshness and conflict test
- Update a controlled source, record every pipeline timestamp, and observe when the new fact becomes retrievable and used.
- Supply conflicting sources with different dates and authority; evaluate whether the response surfaces the conflict rather than blending it.
Multimodal test
- Use images or video frames with similar objects but different context.
- Verify object selection, text extraction, retrieval, and source attribution at each stage.
Metrics that keep stages separate
| Stage | Useful metric | Boundary |
|---|---|---|
| Acquisition | eligible-source coverage, fetch success, age of fetched version | a fetch does not prove indexingStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed. or use |
| IndexingStoring a crawled page in the search index so it can appear in results. Crawled is not the same as indexed — Google selects what to keep, and indexing isn't guaranteed. | parse completeness, chunk coverage, representation freshness | an indexed item may never be retrieved |
| Retrieval | recall at candidate depth, relevant-passage coverage | benchmark-dependent |
| RerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM. | relevance/coverage at final context depth | cannot recover absent candidates |
| Generation | faithfulness, factuality, abstention behavior | evaluator and reference dependent |
| Attribution | citation entailment and completeness | visible citations are not traffic |
| Product | task success, corrections, latency, user satisfaction | product-specific |
| Publisher | mentions, citations, referrals, conversions, factual accuracy | separate channel outcomes |
Never publish a universal “good” threshold without defining the corpus, query set, judge, model version, date, locale, and task. Trend the same evaluation contract over time and re-baseline after material model, index, or product changes.
Continue through the AI-search library
Pipeline components
- Query fan-outQuery fan-out is the technique where an AI search system breaks a single user question into multiple related sub-queries, runs those searches concurrently, and synthesizes the retrieved results into one answer. Google confirms AI Overviews and AI Mode 'may use a query fan-out technique' issuing multiple related searches across subtopics.
- ChunkingChunking is splitting a document into smaller passages so AI systems can embed, index, and retrieve the single most relevant piece — not the whole page — in response to a query. It's a foundational step in RAG pipelines and the conceptual cousin of Google's passage ranking.
- EmbeddingsEmbeddings are dense numerical vectors — lists of floating-point numbers — that represent the meaning of text in a high-dimensional space. Semantically similar content lands close together, so search and AI systems can match by meaning, not just keywords.
- Semantic searchSemantic search is meaning-based retrieval — matching what a user means, not just the words they typed. Search engines detect entities, expand synonyms, infer intent, and rank by conceptual relevance, which is why keyword stuffing lost its power and topical depth gained it.
- Vector searchVector search finds content by comparing the meaning of a query against stored content as numerical vectors, retrieving the closest ones in a high-dimensional embedding space. At scale it uses approximate nearest neighbor (ANN) algorithms — not exact comparison — to search billions of vectors in milliseconds.
- Hybrid searchHybrid search runs keyword (lexical/BM25) search and vector (semantic) search together, then merges the two result lists into one ranking — commonly with Reciprocal Rank Fusion — so it catches both exact-term matches and meaning-based matches that either method alone would miss.
- RerankingReranking is the second stage of a retrieval pipeline: after a cheap, broad first pass pulls a candidate set of documents or passages, a slower, more precise model re-scores and reorders that shortlist by true relevance before the results are served or handed to an LLM.
- GroundingGrounding is anchoring an AI model's answer to source documents it retrieves at the moment you ask — not to the patterns frozen into its weights during training. Retrieval-Augmented Generation (RAG) is the most common way to do it.
- Retrieval-augmented generationRAG is the retrieve-then-generate pattern behind AI search: the system retrieves relevant passages from an external index at query time, injects them into the model's context, and generates an answer grounded in those sources — without changing the model's weights.
- AI citationsAn AI citation is the visible source link an AI answer engine shows next to its generated text — the clickable reference that credits the web page it used. A citation's presence is a separate thing from whether the cited page actually supports the statement, and from being retrieved (read behind the scenes) or merely mentioned (named without a link); citation is driven more by brand mentions and being retrievable than by traditional ranking.
- Content freshnessContent freshness is how recent or up-to-date a page is — by its original publish date, its last substantive revision, or the currency of the facts inside it. It only helps rankings when the query itself benefits from recent results (Query Deserves Freshness), and cosmetic date changes with no real update don't count.
- Knowledge cutoffsA knowledge cutoff (or training data cutoff) is the date after which an LLM was no longer trained on new data. The model has no awareness of anything that happened later — unless the system bolts on live retrieval (RAG/web search) to fetch it at query time.
- Multimodal searchMultimodal search lets you query and get results across more than one modality — text, images, video, and audio together. Instead of typing words, you can point your camera, circle something on screen, or combine an image with a question, and the system understands them jointly.
- AI hallucinationsAn AI hallucination is when a large language model generates output that is confidently stated but factually wrong, made up, or unsupported by its source. It's a side effect of next-token prediction — not a bug that can be fully eliminated.
Primary sources and research
- Google: AI features and your website
- OpenAI: Web search tool
- Microsoft: Hybrid search
- Microsoft: Semantic ranker
- Foundational RAG paper
- NIST Generative AI Profile
No Patrick Stox first-person experience or private AI-search-system implementation is claimed in this article. Existing Patrick/Ahrefs research may be useful for observed AI visibility outcomes, but it is not used here to assert undisclosed provider internals.
Test yourself: how AI search works
Build-time retrieval analysis plus live signals for this exact article. The automatic chunk report includes a deterministic readiness score and is ready without a model download.