Vector Database

« Back to Glossary Index

A vector database is a type of database designed to store, index, and search embeddings. Where a traditional database searches for exact or pattern-matched values, a vector database searches by similarity, finding content that is conceptually close to a query even when the words don’t match.

When a user submits a query to an AI search or retrieval system, that query is converted into an embedding and compared against the embeddings stored in the vector database. The database returns the content whose embeddings are most similar — the closest matches in meaning, which are then passed to a language model to generate a response.

Why This Matters for Technical Writers

Vector databases are a core component of RAG architectures and AI search and retrieval products. Understanding what they do helps technical writers explain why these systems behave differently from traditional search: why results are ranked by relevance rather than keyword frequency, and why the same query phrased differently may return different results. It also surfaces an important documentation implication: the content stored in a vector database is only as retrievable as it is clearly written. Ambiguous, inconsistent, or poorly structured content produces embeddings that are harder to match accurately, which means documentation quality has a direct effect on retrieval quality.

Common Confusion

Vector databases are sometimes conflated with the AI model itself, but they are a separate infrastructure layer. The model generates embeddings; the vector database stores and searches them. A vector database can also be confused with a traditional search index, but the underlying mechanism is different. Traditional search matches keywords and patterns, while a vector database matches meaning encoded numerically.

Embeddings, RAG, AI search and retrieval, semantic search, large language model (LLM), knowledge base, foundation model