Rewriting Lucene in C++ isn’t about the wheel — it’s about byte formats, float ordering and pruning. You’ll see where each step from 128 to 592 QPS comes from.
Rewriting Lucene in C++
Byte-compatible indexes, bit-exact scoring and the fight from 128 to 592 QPS.
- 592 QPS
- 2,465 files / 348K lines
- bit-identical scores
All posts
- Rewriting Lucene in C++ (Part 1): Byte-Level Compatibility — When Java Reads a C++-Written Index2026-10-20
- Rewriting Lucene in C++ (Part 2): Bit-Exact Scoring — The Floating-Point Traps of BM252026-10-20
- Rewriting Lucene in C++ (Part 3): From 128 to 592 QPS — The Search Performance Fight2026-10-20
- Rewriting Lucene in C++ (Part 4): The Writer and the Long Tail — From 59% to 100% Coverage2026-10-20
- Writing a Search Engine from Scratch: Rewriting Lucene in C++2026-10-20
- Lucene's Search Execution: impacts, WAND and MAXSCORE2026-10-20