public DisjunctionMaxScorer ( float tieBreakerMultiplier, |
||
tieBreakerMultiplier | float | Multiplier applied to non-maximum-scoring subqueries for a /// document as they are summed into the result. /// |
similarity | -- not used since our definition involves neither coord nor terms /// directly /// | |
subScorers | Lucene.Net.Search.Scorer | The sub scorers this Scorer should iterate on /// |
numScorers | int | The actual number of scorers to iterate on. Note that the array's /// length may be larger than the actual number of scorers. /// |
return | System |
public DisjunctionMaxScorer(float tieBreakerMultiplier, Similarity similarity, Scorer[] subScorers, int numScorers):base(similarity)
{
this.tieBreakerMultiplier = tieBreakerMultiplier;
// The passed subScorers array includes only scorers which have documents
// (DisjunctionMaxQuery takes care of that), and their nextDoc() was already
// called.
this.subScorers = subScorers;
this.numScorers = numScorers;
Heapify();
}