← All questions
RAGHard· Tree-based retrieval· Ranking· Search resolution

You’ve built the summary tree. Do you retrieve with a f...

A single ranking over the entire tree is superior because it lets the query naturally select the appropriate level of detail. A fixed quota per level forces the system to retrieve specific levels regardless of whether the query actually requires that level of abstraction, leading to wasted compute and potentially lower-quality answers.

Code playground (Python)