Why Danswer migrated to Vespa for enterprise RAG search
Danswer's RAG pipeline relied on two separate search engines for vector and keyword search that could not be weighted together, lacked flexible ranking functions for time-based decay, and could not efficiently handle multiple vector embeddings per document — limitations that degraded search accuracy at enterprise scale.
Danswer tried applying time decay as a post-processing step after the initial search, but this workaround suffered in accuracy at large document scales.
Migrating to Vespa enabled hybrid search with normalized weighting, native time-based decay ranking, and multipass multi-vector indexing per document, greatly reducing resource requirements while supporting tens of millions of documents per customer.
Frequently asked questions
What did this team achieve with this AI workflow?
Migrating to Vespa enabled hybrid search with normalized weighting, native time-based decay ranking, and multipass multi-vector indexing per document, greatly reducing resource requirements while supporting tens of mi…
What tools did this team use?
Vespa, Vespa Cloud, Google Drive, Slack, Salesforce.
What results were reported?
Document index resource usage: greatly reduces the resources necessary to serve the document index; Document scale per customer: up to tens of millions of documents per customer; Document scale where workarounds degraded accuracy: several million (source-reported, not independently verified).
What failed first in this deployment?
Danswer tried applying time decay as a post-processing step after the initial search, but this workaround suffered in accuracy at large document scales.
How is this back office ops AI workflow structured?
Multi-source knowledge ingestion → Multipass document indexing → Hybrid search with normalization → Time-based decay ranking → RAG context retrieval → GenAI response via chat interface.