Vector Database
Synonyms: vector store, embedding database, similarity search engine, semantic search backend, vector index
Definition
Use cases
- Keyword search that misses intent: A user searches "cancel my plan" and gets nothing because the help doc says "end subscription." Vector search matches the meaning and returns the right article.
- "Find similar" that feels relevant: A shopping or docs feature surfaces items close in meaning, not just items sharing a word, so recommendations feel like they understand the request.
- AI answering from your content: An assistant pulls from company docs to answer a question instead of guessing. The vector database is what finds the right passage to feed the model.
How it's used in practice
- Decide what to embed: Choose the sources (docs, products, tickets) and the chunk size. Chunks that are too big or too small return weak matches.
- Tune the similarity threshold: Set how close a match must be to show, so results feel relevant instead of loosely related.
- Show provenance in the UI: Display which source a retrieved answer came from, so users can check it.
- Plan low-match states: Design a clear screen for when nothing similar exists, instead of forcing a weak result.
Challenges & limitations
- Quality depends on embeddings and chunking: The wrong embedding model or bad chunking gives poor results no matter how good the database is.
- Cost, latency, and freshness: Re-embedding content when it changes adds work, and large indexes cost money and add delay you have to design around.
Free resources
- OpenAI: Embeddings Guide — how to turn text into embeddings and use them for search.
- Elastic: What Is Vector Search — a plain explainer of how vector search works and where it fits.

