Vector Database

A database optimized for storing and searching embeddings.

Read one stored handbook passage

Consider an example index of a company’s travel handbook. Each passage needs enough information to be found and checked.

Point ID · travel-042-v3
A stable record key distinguishes this passage and edition from another version.
Vector · [0.2, 0.8]
This invented two-number vector illustrates the searchable field. Real embedding lengths depend on the model.
Payload · travel, edition 3, current
Metadata can carry the source reference, subject, and edition. A filter can restrict the search to current passages.

What happens when the handbook changes?

A new edition can leave an old passage looking highly relevant. Update its status or replace the appropriate record, and embed changed text with the index’s compatible model. Then test a query that should return the new edition and inspect the actual source reference.

What a Vector Database Stores

At minimum, a vector database stores embeddings, but it usually stores more than that. Metadata, document IDs, permissions, timestamps, and source links are often attached so the system can filter results and return useful context instead of just a raw vector match.

This combination matters because real applications rarely want "the nearest vector" in isolation. They want the nearest allowed, recent, relevant, and properly scoped document or chunk for the user and task at hand.

Follow the idea

Vector search describes the operation performed on the indexed values.

RAG · Retrieval-augmented generation uses the selected passage to inform an answer.

Related concepts

Source · Qdrant’s documentation for points, vectors, and payloads

Return to Vector Database in the A–Z glossary