Vector Database
Storage and indexed similarity search for vectors
What is Vector Database?
A vector database stores vectors and supports similarity queries, often with metadata filters. A vector index can also be part of a general database. Retrieval quality depends on the embedding model, index configuration, filters, and the question.
How it works
Read the diagram
- Vectors
- Index & filters
- Query
- Candidates
Key takeaways
-
Filter by access, version, and domain where needed.
-
Measure recall and relevance rather than assuming millisecond performance.
Illustrative example
In a hypothetical support archive, filter to the current product and language before retrieving the five most similar tickets. A semantically close ticket from a retired product should not become the answer’s source.
Similarity, filters, and hybrid search
Approximate indexes trade search effort against recall. Exact keywords may outperform vectors for identifiers or error codes; hybrid retrieval can combine both. Measure relevance, latency, and update/deletion behavior on representative data. A small collection may work well with conventional search, avoiding a separate service that adds operational costs.