The short answer
Enterprise RAG is AI search built for a whole organisation. It finds the passages in your own documents that answer a question, checks the person may see them, then writes a short answer with sources. Finding the right passage matters far more than which model writes the reply.
Search for enterprise search and nearly every result is a vendor. Most make good products. Few tell you where these projects go wrong.
This guide is written from the builder's side. At Aptibit we design and build AI search systems, so we know where a polished demo meets a real document store. It covers what enterprise RAG is, its five stages, the permissions problem, how to measure quality and how to choose a solution.
What is enterprise RAG?
Enterprise RAG is retrieval-augmented generation built for a whole organisation. When someone asks a question, the system searches the company's own documents and finds the passages that answer it. It checks the person may see them, then writes an answer that cites its sources. Quality depends far more on finding the right passage than on the model.
RAG stands for retrieval-augmented generation. The idea was set out in a 2020 paper by Patrick Lewis and colleagues. It pairs a language model with a search step, so answers rest on documents you choose rather than on what the model happens to remember.
The word enterprise adds three hard demands. The content is private. Each person may see only part of it. And the store is messy, full of drafts, copies and old versions. Most of this guide is about those three demands.
What enterprise search means, and what changed
Enterprise search is the ability to find information held inside your organisation, across every system that holds it, from one place. That definition has not changed in twenty years. What finding means has.
Classic enterprise search returns documents. You type words, it lists files that contain those words, and you read until you find the answer. This is keyword search.
AI enterprise search returns answers. You ask in your own words. The system finds the passages most likely to hold the answer. A language model writes a reply from them, with links back to each source.
The real difference is who does the reading. The first leaves it to the employee. The second does it for them. The catch is that the second can be wrong with great confidence, in a way a list of files cannot. So the engineering around it must be more careful, not less.
Why keyword search kept failing
The reasons matter, because they define what AI search has to fix.
- Different words. Someone searches for time off policy. The document says annual leave entitlement. Nothing matches. Every organisation has its own dialect, and keyword search expects you to know it.
- No sense of a question. How many days' notice do I need before leave? To a keyword index, that is a bag of words, most of them noise.
- Ranking without context. A keyword engine does not know that the current policy beats a three year old email that repeats the same words.
- Scattered content. The rule sits in one system, the exception in a chat thread and the latest version in someone's own folder.
Keyword search still wins on exact strings: invoice numbers, part codes, error messages and ticket numbers. When someone types a code, they want that code, not things that mean something similar. A large public study of search methods found that plain keyword ranking remains a strong baseline across many kinds of content. Serious systems use both methods together. This is called hybrid search.
How AI enterprise search works, in five stages
There are five stages. The failures that matter cluster in the first two.
- Connect. Connectors pull content from document stores, wikis, ticket tools, chat, email and databases. This is plain integration work. It is often the largest single cost, because every system has its own login, limits and access rules.
- Split. Documents are cut into passages small enough to find precisely and large enough to make sense alone. Splitting along a document's own headings beats cutting at a fixed length. It often helps more than a model upgrade.
- Index. Each passage is turned into a numerical fingerprint of its meaning. Passages that mean similar things get similar fingerprints. So time off policy can find annual leave entitlement without a list of synonyms.
- Search. The question is turned into a fingerprint the same way and matched against the index. A strong system combines search by meaning with search by keyword. It then reranks, which means a second model scores each candidate against the question and keeps the best.
- Answer. The best passages and the question go to a language model. It writes an answer and cites the passage behind each claim.
Reranking is one of the most valuable steps, and it is often skipped. Anthropic added context to each passage and combined both search methods. On its own test sets, that cut failed searches by 49%, and by 67% with reranking. Your figures will differ. The direction is the lesson.
The permissions problem
Permissions are the part most projects get wrong. An AI search system must respect the same access rules as the documents it reads, at the moment of each question. If it indexes everything and filters later, one bad answer can reveal a board paper or a salary file to the wrong person.
Not everyone may see everything: salaries, disciplinary records, unannounced results, legal advice. Your source systems already enforce this. The search layer must copy it exactly, even though it has read everything.
When this fails, it fails quietly. A model will summarise any passage it receives for whoever asked. The OWASP guidance on sensitive information disclosure says to limit access to what each user or process needs. In search, that means the filter sits before the model, not after it.
There are two broad approaches. The first tags every passage with its source document's access rules and limits each search to what the person may see. It stays correct as rules change, so it is the right default. The second keeps a separate index for each security boundary. It is simpler, but only works when boundaries are few and stable.
- Keep in step. Permissions change. A weekly refresh means a week in which a former project member can still find that material.
- Inherit from the document. Each passage should carry the document's rules, not the folder's, because files are moved and shared one by one.
- Log what was shown. Record every passage returned, not just every question, so you can say later what was shown to whom.
If a vendor cannot explain their permission model in detail, that is the most useful thing you will learn in the meeting.
Finding the right passage is the whole game
The most common cause of a poor system is not the model. The right passage was never found. The model then says it does not know, which users read as broken. Or it improvises from nearby text, which is worse.
Fix the content first. If your store holds four versions of the expense policy and nothing marks the current one, the system will answer from the wrong one. No model can make up for that.
Then make the proven changes. Split documents along their structure. Add reranking. Combine search by meaning with search by keyword, because exact codes matter more inside a business than on the open web.
Use the details you already hold about each document: date, type, author, team and status. Only these tell the system that a signed policy beats a three year old draft. And clarify the question before searching. For example, split a two part question into two searches. Good AI search depends on good data engineering for AI underneath it.
How to measure it
Poor deployments tend to share one trait. Nobody can say how good the system is. It is judged by whoever tried it last, on whatever they happened to ask.
- Build a question set from real use. Collect 50 to 200 real questions from the people who will use it, each with the correct source marked. Include questions the system should decline, because the answer is missing or the person may not see it.
- Measure search and answering apart. They fail for different reasons. For search, check whether the right passage came back and how high it ranked. For answers, check that each claim is backed by the cited passage.
- Rerun the set after every change. Model swaps, new splitting rules, new connectors and prompt edits all move quality, sometimes down.
One point deserves weight. An answer can be correct yet not backed by the passages found, because the model knew it already. Treat that as a failure. The next answer may be wrong, with no warning. The NIST AI Risk Management Framework is a useful frame for this kind of ongoing measurement.
Is ChatGPT a RAG system?
Not on its own. A plain chat model answers from what it learned before its cut-off date. It has never seen your policies, contracts or tickets.
It becomes part of a RAG system when it is given your documents to search first. OpenAI's own file search tool, for example, lets a model search uploaded files by meaning and by keyword before it answers. That is retrieval, then generation.
For a business, the model is only one part. The connectors, the permission checks, the index and the test set are what make it enterprise search. Those parts stay the same whichever model you choose.
Is RAG still relevant?
Yes. Models now read much longer inputs, and some people expect that to replace search. It does not, for four reasons.
- Answers must be current. Policies and prices change weekly. Search reads today's version. A model's memory does not.
- Answers must be permitted. Only a search step can limit what each person sees before the model reads it.
- Answers must cite. People trust an answer they can check against its source.
- Cost and speed. Sending a whole document store with every question is slow and costly. Sending the five best passages is not.
What has changed is how RAG is used. AI agents now call search as one tool among many. The Model Context Protocol specification is one open standard for connecting models to data sources and tools. Our guide to MCP and AI agents explains how that fits.
How to choose an enterprise RAG solution
Rankings of enterprise RAG solutions change every quarter. A checklist does not. Ask every vendor, or your own team, these questions.
- Connectors. Does it connect to every system that holds your content, including the awkward ones?
- Permissions. Does it check each person's access at the moment of each question, and how fast does it pick up a change?
- Hybrid search. Does it combine search by meaning with exact keyword search, and does it rerank?
- Citations. Does every answer link to the passage behind each claim?
- Measurement. Can you load your own test set and see search and answer scores apart?
- Where it runs. Can it run on your own servers if your rules demand it?
- Model choice. Can you swap the model later without rebuilding the rest?
- Records. Does it log which passages went to whom, and for how long?
Some teams buy a platform. Others build, because their connectors and permission rules are unusual. A RAG development company can help you test both paths on your own content before you commit. If the real question is whether to search or retrain, read RAG vs fine-tuning.
Self-hosted or cloud
The deciding question here is not cost. The search index becomes the most sensitive collection of text your organisation owns. Every contract, strategy paper and personnel file sits in one searchable place.
That makes where it runs a board decision, not an infrastructure preference. For many organisations, a cloud service run by a provider is right, with clear terms on data use and retention. For regulated sectors, defence and anyone bound by strict data residency rules, the content cannot leave the building.
Personal data adds a legal layer. India's Digital Personal Data Protection Act 2023 lets the government restrict transfers of personal data to countries it names. A search system on your own servers removes that question for every query.
Running it yourself is now practical. Open models have improved a great deal. A strong search layer with a mid sized local model now beats a weak one with the most advanced model. This is what we build at Aptibit when residency demands it: hybrid search with citations, on infrastructure the client controls. Our guide to self-hosted LLMs covers the hardware and the trade-offs.
The trade is clear. Self-hosting gives up some reasoning power on the hardest questions. In return, you can point to a machine and say the data is there. For a formal frame on running AI responsibly, many buyers look to ISO/IEC 42001, the management system standard for AI.
What it costs
There are three parts, and the shares surprise people.
| Part | What it covers | Why it matters |
|---|---|---|
| Connecting systems | Connectors, logins, limits and access rules for each source | Usually the largest part, and it is integration work, not AI work |
| Preparing content | Removing copies, marking what is current, fixing document details, deciding what never gets indexed | Rarely budgeted, and it decides the outcome |
| Computing power | Indexing, reindexing and answering questions | The smallest part and the most discussed |
Indexing your content once is cheap. You will reindex each time you change how documents are split, so allow for several passes. Running costs grow with use and are usually modest against the time saved.
For Aptibit work, the price depends on scope. We give you a clear estimate after a short discovery call. The cost that matters most is rarely counted. It is a system people do not trust. A tool that misses the first two questions is dropped, and the next attempt meets people who have already decided it does not work.
Why these projects stall
- The demo used the best documents. A hand picked set of clean files makes a strong pilot and says nothing about the real store.
- Permissions came last. The connector then turned out unable to expose document level access rules.
- Nobody measured search. The team tuned prompts and swapped models while the real fault was how documents were split.
- Connectors were underestimated. It is integration work, priced as if it were AI work.
- Nobody owned the content. If no one keeps it current and removes copies, quality decays and trust goes with it.
- Adoption was assumed. People let down by three earlier search tools will try a new one twice. If both attempts miss, there is no third.
AI search earns its place when content is spread across many systems and the same questions come up again and again. It also pays when senior people spend real time answering what a document already says. It disappoints when content is small and tidy, when nothing marks the current version and when no one has a test set. To see where it fits in a wider plan, read about generative AI development.
Sources
- Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv, 2020)
- Thakur et al., BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models (arXiv, 2021)
- Anthropic, Introducing Contextual Retrieval
- OWASP Gen AI Security Project, LLM02:2025 Sensitive Information Disclosure
- NIST, AI Risk Management Framework
- OpenAI API documentation, File search
- Model Context Protocol, Specification (2025-06-18)
- Ministry of Electronics and IT, The Digital Personal Data Protection Act, 2023 (Section 16)
- ISO, ISO/IEC 42001:2023 Artificial intelligence management system
Questions
What does enterprise search mean?
Enterprise search is the ability to find information held inside your own organisation, across all the systems that hold it, from one place. It differs from web search in three ways. The content is private. Each person may see only what they are entitled to. And the collection is smaller but far messier, full of copies, drafts and old versions.
What are enterprise search engines?
They are the software systems that index internal content and answer queries against it. Classic engines such as Elasticsearch and OpenSearch match keywords and return a ranked list of documents. Newer systems add search by meaning and a language model that writes a direct answer with sources. Many organisations build their own, because connecting their systems and keeping their permissions is custom work either way.
Which AI is best for enterprise search?
It is the question most buyers ask first, and it is the wrong first question. The model matters far less than finding the right passage. A strong search layer with a mid sized model beats a weak one with the best model. No model can answer from a passage it never received. Settle where the system must run, get search right, and treat the model as a part you can swap.
What is the difference between enterprise search and RAG?
Enterprise search is the goal: finding internal information. Retrieval-augmented generation, or RAG, is today's best way to reach it. The system first finds the relevant passages, then a language model writes an answer based only on them, with sources. RAG is how modern enterprise search is built, not a rival category.
Do I need a special database for AI search?
You need a search index that understands meaning, which can be a dedicated product or a feature of a database you already run. For most organisations the choice is not critical. It matters far less than how documents are split, how both search methods are combined and how results are reranked. Choose what your team can run well.
How do you stop enterprise search leaking confidential documents?
Enforce permissions at the search step, not at the answer step. Tag every passage with the access rules of its source document. Limit each search to what the person asking may see, keep those rules in step as they change, and log which passages went to whom. A language model has no sense of who may see what, so the boundary must sit earlier.
How do you measure whether enterprise search is working?
Build a set of 50 to 200 real questions, each with the correct source marked, including questions the system should decline. Measure search and answering apart. For search, check whether the right passage came back and how high it ranked. For answers, check that each claim is backed by the cited source. Rerun the set after every change, because quality moves in ways nobody predicts.
Can enterprise search run entirely on our own infrastructure?
Yes, and it is far more practical than it was two years ago. Open models, a local search index and answering on your own servers keep documents and questions inside your network. That is often the only way to meet a strict data residency rule. You give up some reasoning power on the hardest questions. You gain the ability to show exactly where your data lives.
How long does an enterprise search project take?
It depends mostly on how many systems you connect and how tidy your content is, not on the AI work. One well kept source with clean permissions is a short project. Six systems with different permission models and messy content is a long one. Plan from the integration and content work. For Aptibit work, we give you a clear estimate after a short discovery call.











