# Prepare Documents for RAG in Java: A Six-Stage Markdown Chunking Architecture Architecture of an on-premise RAG ingestion pipeline in Java: Word, PDF, email and ZIP files become heading-scoped Ma......## Layer 1: Ingestion and Recursion ### Design Overview The entry...hands an open `Parser` to a recursive router. Keeping the router...