

BlockMaxWandScorer
- Namespace
- Rowles.LeanLucene.Search.Scoring
- Assembly
- Rowles.LeanLucene.dll
Block-Max WAND (Weak AND) scorer for top-K query evaluation. Uses per-block impact metadata (maxFreq, maxNorm) stored in skip data to skip entire 128-doc blocks whose maximum possible score contribution falls below the current threshold θ (score of the Kth-best doc seen so far).
internal sealed class BlockMaxWandScorer
BlockMaxWandScorer
Remarks
This scorer works with any BM25-based scoring function. For each postings list,
the block's maximum possible score is precomputed from maxFreqInBlock
and maxNormInBlock. If no block can beat the current threshold, the
entire term is skipped.
Constructors
Properties
BlocksScored
Number of blocks fully scored.
BlocksSkipped
Number of blocks skipped due to WAND threshold.
Methods
Score()
Executes the Block-Max WAND algorithm for a disjunctive (OR) query over all term scorers. Returns top-K results.