Document chunking divides long documents into smaller passages before indexing. Chunk size and overlap affect context completeness, index size, and retrieval quality. Very small chunks may omit needed context, while very large chunks may include irrelevant text. Indexing stores representations that can be searched later. When source documents change, the index should be rebuilt or updated so that retrieval reflects the current corpus.
