Star-Tree: answer the query before it's asked
A Star-Tree pre-computes aggregations at index time, so a query walks a few nodes instead of scanning every document. I added nested group-by aggregations (Terms, Range, Date-Histogram) and unsigned-long support, and found 5 existing correctness bugs along the way.
- 5–300× faster multi-level analytics
- 5 pre-existing bugs uncovered, 2 fixed upstream
- Mentored an intern: index upgrades 24.8 h → 6 min
↳ build a query and race it
