MiniLucene Tutorial¶
This eleven-chapter book follows one lexical-search system from text analysis to immutable storage, NRT visibility, scoring, query parsing, and merge. Read in order for the full mechanism chain; every chapter includes source anchors, measured experiments, Lucene differences, and exercises with folded answers.
- Meet MiniLucene
- The Analysis Chain
- The Inverted Index
- The Disk Codec
- Segments and Near-Real-Time Visibility
- Deletes and Updates
- Commit Atomicity
- Scoring and Top-K
- The Query Language
- Merge and Beyond
- Doc-at-a-Time Query Execution
Use the behavior matrix as the executable contract and the MiniLucene-to-Lucene mapping when comparing the teaching kernel with Apache Lucene.