Glossary
AI search
AI search is search that uses machine learning and language models to understand what a query means, retrieve the content that answers it, and often generate a direct answer with sources.
AI search is search that uses machine learning and language models to understand what a query means, find the content that answers it, and often generate a direct answer with sources. It goes beyond matching keywords: it interprets natural language questions, retrieves by meaning as well as by exact terms, ranks results with learned models, and can search images, audio and video by what they contain. AI search powers answer engines, enterprise search assistants and the retrieval layer that AI agents depend on.
How AI search differs from traditional search
Traditional search engines are built on keyword search. They break documents into terms, store them in an inverted index, and rank matches with formulas such as BM25 that reward rare terms appearing often. This is fast, predictable and very good at exact matches: product codes, names, error messages. It struggles when the searcher’s words differ from the document’s, when the question is long and conversational, and when the content is not text at all.
AI search adds machine learning at each stage. Language models interpret the query, embeddings capture meaning so that “annual leave” finds “holiday entitlement”, learned rankers order the results, and in many systems a language model reads the top results and writes a direct answer. The result is a different experience: the user asks a question in plain language and gets an answer, ideally with links to where it came from, instead of a list of ten pages to read.
Aspect | Traditional keyword search | AI search |
|---|---|---|
Query | Keywords, often reformulated by the user | Natural language questions and follow-ups |
Matching | Exact or stemmed terms | Meaning, plus exact terms in hybrid systems |
Ranking | Term statistics and hand-tuned signals | Learned models and rerankers |
Output | A ranked list of documents | Ranked passages, often with a generated answer |
Content types | Mostly text | Text, images, audio and video |
Main failure | Misses relevant results that use other words | Returns plausible but wrong results or answers |
How AI search developed
Search has used machine learning for longer than the current wave suggests. Web engines adopted learned ranking in the 2000s, combining hundreds of signals with models trained on human judgements and clicks. The next step came with neural language models: in 2019 Google began using BERT to interpret queries, which helped most with longer, conversational searches where small words such as “for” and “to” change the meaning. Dense retrieval followed, with dual-encoder models that map queries and passages into the same embedding space, so that search by meaning became practical at scale, and the vector database grew up to serve those embeddings. The latest step, from 2023 onwards, added generation: a large language model reads retrieved passages and writes the answer. Each layer was added on top of the previous ones rather than replacing them, which is why a modern AI search system still contains an inverted index, a learned ranker and an embedding model, with a language model at the end.
The building blocks of an AI search system
Most AI search systems share five components, whatever the product on top.
Query understanding. The system works out what the user wants: correcting spelling, resolving follow-ups into standalone questions, extracting filters such as dates or file types, and sometimes splitting compound questions. This is the territory of query understanding, query rewriting and query decomposition.
Retrieval. Candidates are found with vector search, keyword search, or both. Hybrid search has become the default for serious systems, because vectors handle paraphrase while keywords handle names and codes, and the two lists are merged with methods such as reciprocal rank fusion.
Ranking. A reranking model, often a cross-encoder, reorders the shortlist by reading each candidate against the query. Larger systems add learning to rank models that combine text relevance with freshness, popularity and permissions.
Generation. A language model reads the top passages and writes an answer, the pattern known as RAG. Good systems cite the passages they used, which is the job of source attribution.
Indexing and freshness. Behind everything, content has to be extracted, chunked, embedded and kept current as documents change. This part is invisible to users and accounts for much of the engineering effort.
Kinds of AI search
The term covers several products that overlap. Semantic search returns documents that match the meaning of a query. Natural language search lets people type questions instead of keywords. Conversational search keeps context across turns, so follow-up questions work. An answer engine leads with a generated answer and puts sources underneath, as Perplexity and Google’s AI Overviews do on the web. Enterprise search applies these ideas to a company’s own documents, with permissions. Multimodal search finds images, audio and video by what they contain. And agentic search hands the search process to an agent that plans queries, reads results and searches again until it has enough.
A worked example
An employee types: “can I expense a client dinner over £200 without pre-approval?”. A keyword search engine looks for documents containing “expense”, “client”, “dinner”, “200” and “pre-approval”. The expenses policy uses the words “entertainment”, “hospitality” and “prior authorisation”, so it ranks below a dozen meeting notes that mention client dinners. The employee scrolls, gives up, and messages the finance team.
An AI search system handles the same query differently. Query understanding recognises a policy question about a spending threshold. Hybrid retrieval finds the expenses policy through its meaning (hospitality, authorisation) and finds the exact figure through keyword matching on “£200”. A reranker puts the policy’s hospitality section first. The generated answer says that client hospitality over £150 per head needs prior authorisation from a budget holder, and links to section 4.2 of the policy, page 6. The employee has an answer in seconds and can check it against the source.
The example also shows what can go wrong. If the policy changed last month and the index still holds the old version, the answer is confidently out of date. If the employee lacks permission to read the policy, the system must not quote it. Neither problem is about the AI. Both are about the data underneath it.
Where AI search goes wrong
The most visible failure is a wrong generated answer, a form of hallucination that is often a retrieval failure in disguise: the model answered from passages that were related but did not contain the fact. Grounding answers in retrieved text and showing citations reduces the damage, which is why grounding and citations matter more than fluent prose. Stale content is the second failure: an index that is not kept current produces answers that were true last quarter, which is a matter of document freshness. Cost and latency are the third. Embedding, reranking and generation each add milliseconds and money, so systems decide carefully which queries need the full pipeline. The fourth is evaluation: AI search results are harder to judge than keyword results, and teams need test sets and metrics for search relevance before they can say a change helped.
AI search for agents
AI search is no longer only for people. Agents search constantly, and their needs differ. An agent does not read a results page; it needs a few precise passages it can put in its prompt, with references it can cite. It issues many queries per task, so cost per query matters more. And it often searches content it created itself, such as notes, transcripts and reports, which needs to be indexed the moment it is written. These needs push AI search towards sub-document retrieval, tunable precision, and storage and search in the same place, so that agent output is searchable without a separate pipeline.
Building vs buying AI search
Teams that build AI search themselves usually assemble an extraction pipeline, a chunker, an embedding model, a vector database, a keyword index, a reranker and a generation step, then maintain all of them. That gives full control and a long list of moving parts. The alternatives range from search APIs that handle retrieval over your data, to web search APIs built for agents, to enterprise products that connect to company tools. Which fits depends on whose content is being searched and how much of the pipeline you want to own. The best semantic search APIs and best AI web search APIs roundups compare the options, and Exabase vs Glean covers the enterprise side.
How Exabase provides AI search
Exabase provides the retrieval layer of AI search as infrastructure, for teams building their own agents and applications. Deep Search indexes content automatically when it is stored as Resources: PDFs, notes, bookmarks, images, audio and video are extracted and searchable without an embedding pipeline. Text queries are hybrid by default, combining typo-tolerant keyword matching with semantic search, and quoted phrases force exact matches. Beyond text, you can search with an image, by colour, or with an existing resource as the query, and video is searchable by what is shown in each scene as well as by what is said. Results come back as sub-document chunks with page numbers or timestamps and relevance scores, and a precision parameter from 0 to 1 trades recall for relevance. The searching resources guide and the search API reference cover the details.
For answers grounded in what an agent knows about its users, Memory offers an ask endpoint that retrieves relevant memories, passes them to a model and returns an answer in one call. Workers keep a Base current on a schedule, which addresses the freshness problem. Exabase is the substrate here: the search interface, answer formatting and any permissions model above Bases stay in your product. The asset search and RAG accuracy solutions show the two most common patterns, and the post on why search is the most underrated part of the AI stack makes the wider case.
Frequently asked questions
What is AI search in simple terms?
AI search is search that understands what you mean rather than only matching your exact words, and often answers your question directly. It uses machine learning and language models to interpret queries, find relevant passages and summarise them.
How is AI search different from semantic search?
Semantic search is one component of AI search: retrieval by meaning. AI search usually adds query understanding, reranking and a generated answer on top.
Is AI search the same as an answer engine?
An answer engine is one kind of AI search that leads with a generated answer and cites sources. AI search also includes systems that return ranked passages or documents without generating text.
Does AI search replace keyword search?
No. Most strong AI search systems are hybrid, because keyword matching still beats embeddings on names, codes and exact phrases. AI search adds meaning-based retrieval and ranking alongside it.
Why does AI search sometimes give wrong answers?
Usually because retrieval returned passages that were related but did not contain the fact, or because the index held outdated content. Grounding answers in cited sources and keeping content current reduce both problems.
Can AI search find images and video?
Yes, if the content is processed first. Images need captions, tags, OCR or image embeddings, and video needs transcripts and scene analysis, so that both can be searched by what they contain.
Is Exabase an AI search engine?
Exabase is infrastructure for building AI search into your own product. Deep Search provides hybrid, multimodal, sub-document retrieval over content stored in Exabase, and your application adds the interface and any generated answers.
Related pages: semantic search, answer engine, agentic search, enterprise search, multimodal search, information retrieval, semantic search vs keyword search, what is semantic search, internal tools, Deep Search, natural language search