---
title: "Embedding"
url: https://eldan.ai/glossary/embedding
canonical: https://eldan.ai/glossary/embedding
locale: en
language: en
published: 2026-11-23
updated: 2026-11-23
author: "Eldan Abdrashim"
cite_as: "Eldan Abdrashim. \"Embedding.\" Eldan.ai, 23 November 2026. https://eldan.ai/glossary/embedding."
---

# Embedding

> An embedding is a list of numbers that represents the meaning of a piece of text, produced by an embedding model. Texts with similar meaning get vectors that are close together, which makes semantic search possible. Vectors from different embedding models cannot be compared with each other.

To search by meaning, you embed every chunk once, store the vectors, then embed each query and look for the nearest vectors. Closeness is usually measured with cosine similarity or dot product.

**Common mistake.** Switching the embedding model without re-embedding the whole corpus. Old and new vectors live in different spaces, and results become noise.

**In practice.** Record the model name and version with the index, re-index when you change it, and compare candidate models on your own retrieval eval, not on a public leaderboard alone.

## Related terms

- [Vector database](https://eldan.ai/glossary/vector-database)
- [Chunking](https://eldan.ai/glossary/chunking)
- [Hybrid search](https://eldan.ai/glossary/hybrid-search)
