Skip to content

Vector Search

Searching for the nearest vectors to a query in the space of meanings.

How It Works

  1. The query is turned into an embedding.
  2. The nearest vectors are looked up in the vector DB.
  3. Closeness is measured with cosine similarity.

Vector Search vs Keywords

Vector Keywords
Searches By meaning By exact match
Synonyms Understands Does not understand
Exact names May miss Finds

That is why production systems often use hybrid search — both approaches together.

Where It Is Used

  • RAG;
  • semantic search over documents;
  • recommender systems;
  • searching for similar images.

See Also

← All Terms