Glossary
Federated search
Federated search sends one query to several separate sources at the same time and merges their results into a single list, without copying the data into one index.
Federated search is a way of searching many separate sources with one query. The search layer sends the query to each source’s own search function at the same time, such as a wiki, a ticketing system, a file store and a CRM, collects what each returns, and merges the results into one ranked list. The data stays where it lives; nothing is copied into a central index. The approach trades ranking quality and speed for freshness, simpler permissions and less data movement, and it is the main alternative to building a single unified index.
How federated search works
A federated search system has three parts. A broker receives the user’s query and decides which sources to send it to. Connectors translate the query into each source’s format and call its search API: a keyword query for one system, a filtered API call for another, a vector query for a third. A merger then combines the returned lists, removes duplicates and produces a final ranking. Each source runs its own search over its own index, whether that is an inverted index for text or a vector index for embeddings, and returns its best matches with whatever scores it uses.
The broker can be simple, sending every query everywhere, or selective. Source selection looks at the query and picks the sources most likely to hold an answer, which saves time and cost when there are dozens of systems. A question about an invoice goes to the finance system and the shared drive; a question about a bug goes to the issue tracker and the code host. Selection is a form of query understanding, and in AI systems a language model often makes this choice.
Federated search and a central index
The alternative is to ingest everything into one index. A central index copies content from every source through data ingestion, processes it once and searches it with one ranking function. Most enterprise search products work this way. The two approaches differ on almost every practical axis.
Factor | Federated search | Central index |
|---|---|---|
Freshness | Live: each source searches its current data | Depends on how often content is re-indexed |
Permissions | Enforced by each source at query time | Must be copied and kept in sync |
Ranking quality | Limited by each source’s search; scores hard to merge | One ranking function across everything |
Latency | Set by the slowest source | One query against one index |
Search depth | Whatever each source’s API exposes | Full text, chunks and media you choose to index |
Data movement | None | Every document is copied and processed |
Setup cost | A connector per source | Ingestion, processing and sync per source |
Freshness and permissions are federation’s strongest arguments. Because each source answers from its current state, there is no stale knowledge problem and no window where a deleted document is still searchable. Because each source checks the user’s rights before returning anything, there is no separate copy of the access rules to drift out of date. A central index has to solve both with incremental indexing and permission syncing, and the case that knowledge bases rot explains why that work never ends.
Ranking and depth are the central index’s strongest arguments. A federated system can only be as good as the weakest source’s search function. Many business applications offer basic keyword search over titles, cap results at a small number, or search metadata only. A central index can extract the full text of every PDF, transcribe recordings, split documents into passages and rank them all with the same model.
The result merging problem
Merging is where federated search gets difficult. Each source returns its own scores on its own scale. A BM25 score of 18 from one system, a cosine similarity of 0.79 from another and a result with no score at all from a third cannot be compared directly, because a relevance score only has meaning inside the system that produced it. Three methods are common.
Round-robin interleaving takes the top result from each source in turn. It is simple and fair to every source and ignores the fact that one source may have far better matches than another. Score normalisation rescales each list, for example to the range 0 to 1, before merging, which helps when sources use similar scoring but breaks when one source returns only weak matches that become 1.0 after scaling. Rank fusion ignores scores and combines positions. Reciprocal rank fusion is the most widely used method because it needs no knowledge of how each source scores. A fourth option is to rerank the merged candidates with one model, which restores a consistent view of search relevance at the cost of an extra step.
Deduplication matters too. The same document often lives in several systems, such as a contract stored in the CRM, the shared drive and an email thread. Without deduplication, it appears three times and pushes other results off the first page.
Federated search in AI agents
Agents have brought federated search back into fashion. An agent with tool use can call a search tool for each connected system, read the results and decide what to do next. Connecting those systems through MCP servers is now a common pattern: each MCP server exposes a source’s search as a tool, and the agent acts as the broker. Agentic search extends this by letting the agent rewrite its query, try another source or decompose a question when the first results are thin, techniques covered under query rewriting and query decomposition.
This works well for live, small lookups: the current status of a ticket, today’s calendar, a customer’s latest order. It works less well for questions that need deep reading across many documents, because each tool call adds latency and tokens, each source’s search returns whole records instead of the relevant passage, and the agent has to hold many partial result lists in its context. A question such as “what did we agree with Acme about late-payment penalties across all our contracts?” needs the penalty clause from each contract, which few source APIs can return.
When to use federated search
Federated search fits when data changes constantly and staleness is unacceptable, when copying data is ruled out by contract, regulation or cost, when permissions are complex and live in each source, or when a quick answer from a few systems is good enough. It is also a pragmatic way to start: connecting three search APIs takes days, while building ingestion pipelines takes weeks.
A central index fits when answer quality matters most, when content includes long documents, scans, audio or video that source systems cannot search inside, and when the same corpus is queried heavily enough that processing it once pays off. Many production systems combine the two: a central index for the core knowledge base, plus live tool calls for a handful of systems where freshness wins.
A worked example
An internal tools team builds an assistant for account managers. Its first version is federated. A question goes to the CRM, the support desk and the shared drive in parallel; results come back in about two seconds, governed by the slowest system, and are merged with reciprocal rank fusion. Questions about deal stage and open tickets work well, because the answers sit in structured fields that each system searches properly.
Questions about contract terms fail. The shared drive’s search matches file names and the first page of each document, so the clause on page 14 is never found. The team moves contracts, proposals and call recordings into a central index that searches inside documents and transcripts, and keeps the CRM and support desk as live tools. Contract answers now cite the clause and page, while pipeline questions still reflect the current state of each deal. The timings are illustrative, and the split between indexed and live sources is a common outcome.
Federated search across tenants
In multi-tenancy systems, each customer’s data is kept apart, often in a per-tenant index. Searching across tenants is rarely wanted, and when it is, such as for an operator searching all customer workspaces for an incident, it has to be done deliberately: query each tenant’s index separately and merge, so that tenant isolation holds by construction instead of relying on a filter that one bug could remove.
How Exabase fits
Exabase takes the central-index approach within each workspace. Content stored as Resources (files, notes, bookmarks, audio and video) is extracted and indexed when it is written, and Deep Search searches inside it at the sub-document level: paragraphs in PDFs with page numbers, timestamps in audio, scenes in video. Text queries are hybrid by default, and one search ranks results from every format in one list, so the merging problem across formats is handled by the index. Data from connected third-party sources is held in integration folders, listed as resource roots in the resource roots reference.
Each Base is an isolated environment with its own index, and search runs against one Base at a time. An application that needs results from several Bases queries each one and merges the lists itself, which is federated search with isolation enforced at the infrastructure level. Freshness, the central index’s weak spot, is handled by Workers: scheduled agents that re-extract changed documents, tag new material and prune outdated content, as described in the knowledge base solution. Workers can also search the web, so a Worker can pull live information into a Base on a schedule. The searching resources guide covers filters, precision and multi-query search. For how Exabase compares with an enterprise search product built on connectors, see Exabase vs Glean, and for the wider argument, search is the most underrated part of the AI stack.
Frequently asked questions
What is federated search in simple terms?
It is searching several systems at once with one query. The search tool asks each system for its best matches, then combines them into one list, without copying the systems’ data into a shared index.
What is the difference between federated search and enterprise search?
Enterprise search describes the goal: one search across a company’s information. Federated search is one way to achieve it, by querying each system live. Most enterprise search products instead copy content into a central index, and some combine both.
What are the disadvantages of federated search?
Results are only as good as each source’s own search, response time is set by the slowest source, and scores from different systems are hard to merge into one fair ranking. Source APIs may also limit how many results they return or how often they can be called.
How are federated search results ranked?
By merging each source’s ranked list. Common methods are round-robin interleaving, score normalisation and reciprocal rank fusion, sometimes followed by a reranker that scores all merged candidates with one model.
Is federated search better for permissions?
Usually, because each source checks the user’s access when it answers. A central index has to copy and sync permission data, which adds work and a risk of drift.
Do AI agents use federated search?
Often. An agent that calls a search tool for each connected system, for example through MCP servers, is acting as a federated search broker. It suits quick live lookups better than questions that need reading inside many long documents.
Does Exabase support federated search?
Exabase indexes content centrally within each Base, and Deep Search queries one Base at a time. Applications can query several Bases and merge the results, and Workers keep each Base’s index current.
Related pages: Enterprise search, agentic search, reciprocal rank fusion, relevance score, query understanding, information retrieval, per-tenant index, Deep Search, Knowledge base, Exabase vs Glean