▲ Agents in production
Can you reuse your AI assistant's RAG as your platform's search? What we measured with hybrid search.
By César Soto · 8 min read
▲ In this article
▲ In short
- Yes, with conditions: content is cleaned before generating embeddings, the permission filter runs inside the vector query and, if the semantic side fails, the user gets the result of the usual keyword search.
- At Simón we extracted the assistant's vector search engine and built the help center's hybrid search on it. On a holdout set we never used for tuning, the right answer landed in the top 3 results for 14 of 15 questions, versus 13 of 15 with keywords only.
- We tried reciprocal rank fusion (RRF), the option Elastic, OpenSearch and Qdrant document, and it lost to the vector score on its own. We kept the vector score plus a boost for the rare words in the question.
Short answer: yes, with conditions. The assistant's vector search engine can be reused almost as is. Each index needs its own rules about what content goes in, who can see it and how it stays fresh, and before replacing your current search you should measure with real questions whether the new one finds things better.
I'm the CTO of Simón. On November 5, 2026 we took the search engine out of the assistant and used it so the help center searches by meaning. These are the decisions we made and how we measured the result.
What gets reused and what doesn't?
The engine gets reused: the vector query, the embedding of the question and the fallback when something fails. At Simón that pattern was proven before the assistant existed.
On June 23, 2026 we launched semantic search in the internal video library, with embeddings and a vector index with a fallback. Its scope combines the global catalog with each account's own videos.
On November 3, the assistant's knowledge index copied that pattern. Published courses and documents are split into chunks and vectorized when they're published, and a scheduled job repairs any gaps. Two days later we extracted the engine from the assistant to use it in the help center.
The index is decided per source. This is how the two ended up:
| Decision | Assistant knowledge | Help center |
|---|---|---|
| What goes in | Published courses and documents, no internal material | Help articles, no internal material |
| Which version | Only the current published one | Only the current published one |
| Who can see it | Filtered by account | Global: help articles belong to no customer |
| How it stays fresh | Vectorized on publish, and a scheduled job repairs gaps | Saving in the CMS triggers reindexing, with a daily backup run; only changed articles are vectorized again |
Result ranking is tuned separately too. The assistant hands chunks to a model that writes the answer, while search shows a list to a person. That's why we measured the help center's ranking on its own.
How do you measure whether search got better?
With real questions whose right answer you already know and a metric that needs no explanation: whether the right article shows up in the top 3 results.
We built two sets. We used the tuning set to try each ranking variant. We kept the holdout set aside and only ran it once we had the final configuration.
| Set | Hybrid search | Keywords only |
|---|---|---|
| Tuning (23 questions) | 22 of 23 | 16 of 23 |
| Holdout (15 questions, never used for tuning) | 14 of 15 | 13 of 15 |
On the tuning set, hybrid gets 6 more questions right. On the holdout set, 1 more.
The number I trust is the holdout one. Every time we tried a variant and kept the one that scored best, the configuration got a little closer to those 23 questions, so the tuning set always looks better. The holdout set is closer to what happens with a user question nobody anticipated.
With 15 questions, a difference of one doesn't prove hybrid is better. It shows it didn't fall below keyword search on questions it hadn't seen. That, together with the fallback I describe below, is what justifies running it in production.
Why didn't RRF win for us?
Reciprocal rank fusion (RRF) is the most common way to combine a keyword list with a vector list. It comes from a 2009 paper by Cormack, Clarke and Büttcher, and today Elastic, OpenSearch and Qdrant document it. Each document adds 1 / (k + rank) for every list it appears in, with k = 60 by default in Elastic.
RRF only looks at rank. An article that comes first in the keyword list gets the same boost whether it matched the exact term in the question or words that show up in half the help center. On our tuning set, that put articles sharing only common words on par with the real hits, and the vector score on its own ranked better.
We kept the vector score as the base, plus an extra boost when the article contains the rare words in the question, like a feature name or a product term. Those are the words semantic search tends to miss. Google Cloud's hybrid search documentation explains it with product numbers and new names the embedding model never saw in training.
Vendors add nuance too. In the tests OpenSearch published when it launched RRF, across six datasets, RRF averaged 3.86% lower NDCG@10 than methods that combine normalized scores. Since version 1.24, Weaviate defaults to relative score fusion.
RRF is a fine starting point because it doesn't require calibrating scores. I'd compare it against at least one alternative on your own question set before keeping it.
What about permissions?
At Simón, the permission filter runs inside the vector query. We never filter in code after getting the results back.
There are two reasons. The first is security: if the filter lives in the code that processes results, any new path that calls the engine and skips it exposes another account's content. The second is quality: Elastic's documentation warns that filtering after approximate search can return fewer than k results, even when there are enough valid documents.
The help index is global on purpose. Help articles belong to no customer, so there's nothing to filter. It lives in a separate index, and customer knowledge is still filtered by account, with no exceptions.
Before vectorizing, content goes through a cleanup that strips all internal material. We treat it as if it were already public, because anything that enters the index can end up in front of a user, in a result or in an assistant answer. For the same reason we only index the current published version; drafts and older versions stay out.
The assistant's index follows the same rules; I describe them in how we filter what the assistant retrieves by permission. The idea underneath is the harness one: what the server already knows, like the account of whoever is asking, is never decided by the model.
What if the semantic side fails?
Design it to fail back to the previous search. At Simón, if the vector side is unavailable, takes longer than allowed or runs out of quota, the user gets exactly the result keyword search used to give, without seeing an error or an empty list.
That sets a floor: in the worst case the help center searches the way it used to, and the launch risk is limited to the part we measured.
Freshness is part of the same design. Saving an article in the CMS triggers its reindexing, and a daily run repairs anything that slipped through. Only changed articles are vectorized again, so embedding cost depends on how many articles get edited.
Checklist for reusing your RAG as search
- Clean the content before vectorizing. Everything that enters the index can reach a user.
- Index only the current published version. Drafts and old versions stay out.
- Put the permission filter inside the vector query. A filter in code after the query depends on nobody forgetting it.
- Write down the scope of each index. Global, per account, or the global catalog plus each account's own content.
- Build two sets of real questions with their right answer. One for tuning and a holdout you don't touch until the end.
- Compare RRF against at least one alternative. With your questions and on the same metric.
- Make failure fall back to your current search. No error and no empty list.
- Reindex on save and repair once a day. Only what changed.
If the assistant's index still filters permissions in code or vectorizes drafts, that problem already exists in the assistant, and a search box on top puts it in front of more users. I'd fix it there before reusing the engine anywhere else in the product.
If your team is about to connect the assistant's RAG to another part of the platform and you want to review permissions, evaluation and fallback before launch, book a 30-minute conversation. You leave with a clear next step, with me or without me.
Frequently asked questions
What's the difference between semantic search and hybrid search?
Semantic search ranks by how close in meaning the question and the document are, using embeddings. Hybrid search combines that signal with keyword search, such as BM25, which finds exact terms: feature names, codes or newly launched products. In Simón's help center we use the vector score plus a boost for the rare words in the question.
Can I use the assistant's index for search?
You can use the same engine. It's worth separating the index when the permission rules differ. At Simón, customer knowledge is filtered by account and help content is global, so they live in separate indexes that share an engine.
Do you need RRF for hybrid search?
No. RRF is the most documented option because it doesn't require calibrating scores, and Elastic, OpenSearch and Qdrant offer it. Weaviate defaults to relative score fusion and Qdrant also offers DBSF. On our tuning set, RRF lost to the vector score on its own, so the useful move is to measure the options with your own questions.
References
- Gordon V. Cormack, Charles L. A. Clarke and Stefan Büttcher, "Reciprocal rank fusion outperforms Condorcet and individual rank learning methods", SIGIR 2009
- Elastic, "Reciprocal rank fusion" (Elasticsearch documentation)
- Elastic, "Filter approximate kNN results"
- OpenSearch, "Introducing reciprocal rank fusion for hybrid search"
- Qdrant, "Hybrid Queries"
- Weaviate, "Hybrid search"
- Google Cloud, "About hybrid search" (Vertex AI Vector Search)
Want to apply it in your team? Let's talk for 30 minutes.
Free, on video, with César Soto.
Book a conversation