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

# Chunking

> Chunking is splitting documents into pieces small enough to index and retrieve individually. The size and boundaries decide what search can find: too large and a chunk mixes topics, too small and it loses the context that makes it meaningful. Splitting along headings and list items usually beats fixed character counts.

A chunk is the unit of retrieval, so it should be a unit of meaning: a section, a procedure, a table with its caption. Overlap between neighbouring chunks, or a pointer to the parent section, helps when an answer straddles a boundary.

**Common mistake.** Choosing a chunk size once from a blog post and never testing it on your corpus.

**In practice.** Try two or three strategies, compare recall at k on a retrieval eval, and open fifty random chunks to read them. Tables and code need special handling.

## Related terms

- [RAG (retrieval-augmented generation)](https://eldan.ai/glossary/rag)
- [Embedding](https://eldan.ai/glossary/embedding)
- [Recall at k](https://eldan.ai/glossary/recall-at-k)
