mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-07-09 18:50:48 +00:00
search-benchmark-game shows TOP_100_COUNT regression on queries tagged intersection_union. The regression came from allowing single-term boolean unions to become TermUnion for Block-WAND. https://github.com/quickwit-oss/tantivy/pull/2915 When such a scorer is used as the optional side of RequiredOptionalScorer, boxing converted the lone term into BufferedUnionScorer. Keep the TermUnion representation available for pruning collection, but unwrap one-term unions when boxing or doing non-pruning iteration.