RAG vs website search: what's the difference?

Website search retrieves and ranks documents for a visitor to choose from. RAG retrieves documents and then has a language model write an answer from them. RAG is not a replacement for search — it is a layer on top of it, and its quality is capped by the retrieval underneath.

Different outputs for different questions

Website searchRAG
OutputRanked resultsWritten answer
Best forBrowsing, comparing, choosingFactual and support questions
LatencyMillisecondsSeconds
Cost per queryNegligibleModel inference
Failure modeWrong results, visiblyConfident wrong answer

Why RAG needs search to be good first

Generation cannot compensate for retrieval. If the wrong documents are fetched, the model produces a fluent, well-structured, incorrect answer — which is more damaging than an empty result page, because nothing signals to the visitor that it is wrong.

Investing in retrieval quality is therefore the highest-leverage work in any RAG deployment, and it is the part most often skipped in favour of prompt tuning.

The right split on a website

Use generation for questions with one correct answer — policies, sizing, shipping, order state. Use results for anything involving choice. Route by intent rather than committing the whole surface to either.