Back to Glossary

Vector Database

Synonyms: vector store, embedding database, similarity search engine, semantic search backend, vector index

Do not index

Definition

A vector database stores data as numerical embeddings and finds items by meaning instead of exact keywords. Ask it for things "similar to" a query and it returns the closest matches. It's the backend behind semantic search, "find similar" features, and AI assistants that answer from your own documents.

Use cases

Skip it and search stays literal, so users miss things that are clearly there.
  • 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.
🪄
Pro-tip: A vector database returns the nearest match, not the right one. It always hands back something, even when nothing fits. Design for the "closest but wrong" case, or users will trust a confident, irrelevant 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

 
notion image

Share this post

Get free UX resources

Get portfolio templates, list of job boards, UX step-by-step guides, and more.

Download for FREE
 
 
 

The best email 📮 for growing 🌱 designers

 
Honest notes about the work behind the work. Read in 2 minutes, weekly. Free forever.
 
 
     
    notion image
     
    Join 13,045 designers and get tactics, hacks, and tips.