Dictionary
Vector Database
A vector database is a specialized storage system designed for indexing, storing, and querying high-dimensional vector embeddings efficiently. Unlike traditional databases that search by exact matches or keyword lookups, vector databases find results based on semantic similarity, returning items whose meaning is closest to the query even when no words overlap.
The underlying mechanism relies on approximate nearest neighbor algorithms like HNSW or IVF that can search through millions of vectors in milliseconds. Each piece of content, whether a paragraph of text, an image, or a product description, is converted into a numerical vector by an embedding model, and the vector database indexes these representations for fast retrieval. Popular options include Pinecone, Weaviate, Milvus, Qdrant, and Chroma, each with different strengths around managed hosting, filtering capabilities, and scale. For web developers building AI-powered features like semantic search, recommendation engines, or RAG systems, vector databases provide the retrieval layer that connects user queries to relevant content.