Prefix every chunk with its document title and heading path
A chunk that says "rotate the key, then restart the workers" is ambiguous. "Payments runbook / Key rotation / rotate the key, then restart the workers" matches the query on the words that matter. Chunk on structure, not on a fixed token count, and carry the path.
ragsearch
Longer version: the post this came from.