Files
tantivy/src
James Sewell 322286ee16 Tighen Block-Max in single-scorer (#2897)
In the Block-Max WAND single-scorer, it uses block_max_score() < threshold,
whereas the multi-term one uses  block_max_score_upperbound <= threshold.

As both of these are guarded later on with if score > threshold we can
use the more efficent form in single-scorer.

Single-scorer block skip (<, should be <=): https://github.com/quickwit-oss/tantivy/blob/main/src/query/boolean_query/block_wand.rs#L231
Multi-scorer block skip (already <=): https://github.com/quickwit-oss/tantivy/blob/main/src/query/boolean_query/block_wand.rs#L179
Single-scorer per-doc guard (>): https://github.com/quickwit-oss/tantivy/blob/main/src/query/boolean_query/block_wand.rs#L246
Multi-scorer per-doc guard (>): https://github.com/quickwit-oss/tantivy/blob/main/src/query/boolean_query/block_wand.rs#L206

This will improve performance when there are many identical scores.
2026-04-25 14:13:07 +02:00
..
2026-03-18 17:28:59 +01:00
2026-01-27 09:22:11 +01:00
2026-03-18 17:28:59 +01:00
2025-10-23 10:23:34 +02:00
2026-02-11 14:37:42 +01:00
2025-07-02 11:25:03 +02:00
2026-01-02 12:40:42 +01:00
2026-01-27 09:22:11 +01:00
2026-01-02 12:40:42 +01:00
2026-03-18 17:28:59 +01:00
2025-12-01 15:38:57 +01:00
2025-12-01 12:15:41 +01:00
2024-10-22 09:26:54 +08:00