A RAG Search Index Is an Operational Dataset, Not a Cache
When teams first design Retrieval-Augmented Generation, they often call the search index a cache. The source document remains in object storage or a document system, so the embeddings and chunks can supposedly be rebuilt when needed. That assumption may be acceptable for a small experiment. In an enterprise service, it quickly becomes operating debt.
A search index contains more than chunks cut from the source. It also carries the embedding model and dimension, chunking rules, source version, access-control context, tenant, retention period, and indexing time. If that context is missing, the system can return a different answer to the same question or expose a document whose permission has already been revoked. An index is a reproducible artifact, but that does not make it a disposable cache.
This post compares Amazon Bedrock Knowledge Bases, vector search in Azure AI Search, Google Cloud RAG Engine, and a search platform assembled on OpenStack. All can implement RAG, but they place the data control plane in different locations and leave different responsibilities with the operator.
Four questions separate a cache from a dataset
The first is freshness. How soon after a document changes must the new content be searchable? “We will synchronize it eventually” is not a service level. The platform needs an indexing-lag target, retry handling for failed synchronization, and a way to identify the current index generation. Even when the source is current, an index built with an old embedding model can leave the system in an obsolete semantic space.
The second is deletion. Deleting a document is not complete when a file disappears from the source store. The team must account for chunks, embeddings, search caches, replicas, backups, and evaluation datasets. A change of access is similar. Attaching an ACL to the source does not by itself secure retrieval; the ACL must be enforced at query time. Without verifiable deletion and permission-change events, RAG becomes a blind spot in data-retention policy.
The third is recovery. The fact that an index can be rebuilt from source does not mean that the same result can be reproduced. Parser versions, chunk sizes, embedding models, metadata filters, and search parameters can all change the result. A disaster-recovery plan must therefore include the index configuration, model identifiers, index generation, and a validation query set. “We can embed it again” describes the start of a rebuild, not a recovery time.
The fourth is cost and placement. The vector store bill is only one part of the total. Include embedding calls, CPU and GPU used for reindexing, replicas, network transfer from source to index, query compute, and log retention. When an index is replicated across regions or clouds, derived data may move more frequently than the source. Data sovereignty is not decided by the location of the original bucket alone.
Public clouds package the retrieval control plane
The Amazon Bedrock Knowledge Bases documentation says that a managed knowledge base manages data ingestion, indexing, storage, and retrieval infrastructure. Connectors, document-level permission filters, embeddings, reranking, and response citations are presented as one product experience. With a customer-managed knowledge base, the customer takes responsibility for the vector store and for ingestion, parsing, indexing, and storage configuration. The two paths make the operating contract visible.
The benefit is faster standardization. A platform team does not have to build document connectors, an index schema, and permission filtering from scratch. The tradeoff is that the team must verify, in product documentation and contracts, where data is transformed, which models and services perform the transformation, when deletion reaches every derived store, and which index generation can be restored during an incident. Managed does not mean responsibility disappears. It means part of the responsibility moves inside the provider boundary.
The Azure AI Search vector search overview describes vector and non-vector fields in one search index and hybrid search that runs vector and keyword search together. An indexer pipeline can integrate chunking and vectorization, or an application can provide precomputed vectors. This can improve RAG quality, but it also increases the number of schema and pipeline choices that must be operated. The documentation explicitly positions a vector index for long-term memory and knowledge-base use cases, not only as a temporary cache.
The Google Cloud RAG Engine overview and its vector database choices documentation separate the RAG execution path from the choice of vector database. That connects model calls and retrieval storage within a provider experience while retaining storage choices for different use cases. Choice alone does not create portability. Embedding dimensions, filter syntax, deletion semantics, snapshots, and replication differ between stores, so the application abstraction must absorb those differences in practice.
OpenStack provides the materials, but the product experience must be assembled
OpenStack does not provide a finished RAG knowledge base. As the Swift architecture documentation shows, object storage, replication, and storage policies can provide a foundation for source documents and index artifacts. With Keystone projects and roles, plus a search engine and embedding service on virtual machines or Kubernetes, an organization can assemble a private RAG platform.
The operator must then assemble the operating discipline. The ingestion service must not lose source events. Tenant indexes and metadata filters must be isolated. Old and new embedding generations must coexist during a model change. The team must test recovery order between Swift and the search engine. Accelerator choice may be broader than in a public cloud, but GPU drivers, scheduling, power and cooling, and spare capacity become platform responsibilities.
This is why OpenStack should not be described as an obsolete substitute for a public cloud. Public clouds package connectors, indexing, permission filters, and observability to shorten adoption time. An OpenStack-based platform lets an organization control which facility, network, model, and accelerator handle the data, and which component is replaced during recovery. The former is purchased convenience; the latter is self-determination. Choosing OpenStack still requires a separate retrieval control plane that turns that self-determination into a usable product.
| Operating axis | Managed public-cloud RAG | OpenStack-based RAG |
|---|---|---|
| Control plane | Ingestion, indexing, retrieval, and model calls are connected by product APIs | Keystone, object storage, search, and model gateways are composed by the platform |
| Virtualization and storage | The service abstracts replication and capacity, subject to provider contracts | The operator owns placement and recovery across VMs, containers, Swift, and block storage |
| Multitenancy | Managed ACLs combine with project or subscription boundaries | The platform designs project, network, index, and metadata-filter isolation |
| Accelerator choice | Limited by provider models, regions, and available capacity | Broader hardware and model choice, with driver and capacity obligations |
| Sovereignty and cost | Fast adoption and usage pricing, with region and service boundaries to verify | Direct control over facility, network, and model boundaries, with fixed cost and staffing |
| Portability and recovery | Provider schemas, filters, and snapshot semantics create dependency | Configuration and data can be owned, but reproducible results must be engineered |
A minimum design for operating an index as a dataset
The platform team should retain the following metadata for every index:
- Source identifier, source version or content hash, tenant, and the reference time for the ACL
- Parser and chunking-rule versions, embedding model and dimension, and reranker identifier
- Index generation, creation time, source coverage, failed documents, and retry count
- Retention period, deletion-event status, and a citation link to the source
- Recovery region and store, validation queries and expected answers, and the allowed freshness lag
Build indexes by generation instead of overwriting one in place. Create a new generation separately, validate consistency, permissions, and quality, then switch search traffic. This leaves a rollback point when the embedding model or chunking rules change. Record deletion as a policy event that must propagate promptly, not as a task to be handled during the next indexing run. Excluding a document from search and actually deleting its stored vectors are separate verification items.
The cost dashboard should show more than document count. Track embedding cost per document, reindex frequency, storage and replication cost, query latency, cache hit rate, and the proportion of results served by an old index. These metrics turn “is a managed service cheaper?” into “which operating responsibilities are we buying, and at what price?”
RAG quality is not only a matter of whether a model writes a good answer. An enterprise service must explain which index generation produced the answer, from which source, and under which permissions. Public clouds provide much of that explanation as a product. OpenStack lets the operator choose the data, network, and accelerator boundaries where the explanation lives. Whichever path an organization chooses, treating the search index as a cache hides data governance and recovery problems behind answer quality.
Official references checked
- Amazon Bedrock Knowledge Bases documentation, managed and customer-managed knowledge bases, permission filters, and citations
- Azure AI Search vector search overview, hybrid search and indexer vectorization
- Google Cloud RAG Engine overview, RAG execution path
- Google Cloud RAG Engine vector database choices, vector-store choice structure
- OpenStack Swift architecture, rings, replication, and storage policies