Remember the lonely chunk from lesson 2: “Claims must be filed within 30 days of noticing the fault.” It's the right answer to “how long do I have to claim on my e-bike battery?”, but it never mentions batteries, warranties or e-bikes. Both search methods struggle to find it.
Contextual retrieval is Anthropic's fix, and it's simple. Before you index a chunk, ask Claude to write a sentence or two that places the chunk in its document. Glue that context to the front of the chunk, then embed it and add it to the keyword index as usual.