# Production retrieval guide
Retrieval quality starts with documents that have clear structure. Preserve headings because they carry useful context into each chunk.
## Chunk sizing
Smaller chunks can improve precision, while larger chunks retain more surrounding meaning. Measure the tradeoff with your own queries and relevance labels.
## Example configuration
```json
{
"strategy": "markdown",
"size": 120,
"overlap": 20
}
```