← Back to Journal
δΈ­ζ–‡η‰ˆ →

Next-Generation RAG Is More Than More Chunks

Searching a large knowledge base should not stop at paragraphs that look similar. It should follow the document structure to the pages and evidence that are actually relevant.

Three panels showing document chapters, a tree index, and links to evidence
01 Preserve the original chapter structure02 Reason through a tree index03 Return to pages and evidence

Similar Does Not Mean Relevant

Traditional chunk-based search is good at finding text with similar meaning, but it can lose the relationships between chapters, the surrounding conditions, and the complete evidence. In large technical documents, the structure itself is information.

How PageIndex Works

PageIndex keeps the document's chapter tree. The LLM first decides which branch to follow, then finds the pages that are actually relevant. This is closer to how people read long documents than cutting everything into a large pile of chunks first.

Pair It with a Controlled Knowledge Loop

Add a wiki that accumulates verified summaries, concepts, and cross-links, and search stops being a one-off answer. It gradually becomes traceable knowledge.

PageIndexRAGKnowledge Architecture

How this is made: these notes come from my own projects and experiments. I use AI assistants (Claude and Codex) heavily for drafting, translation and editing; I choose the topics and decide what gets published. β€” Michael Chuang