Class DisjunctionMaxQuery.DisjunctionMaxWeight
Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.
NOTE: this API and implementation is subject to change suddenly in the next release.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
protected class DisjunctionMaxWeight : Weight
Constructors
Name | Description |
---|---|
DisjunctionMaxWeight(DisjunctionMaxQuery, IndexSearcher) | Construct the Weight for this Query searched by |
Fields
Name | Description |
---|---|
m_weights | The Weights for our subqueries, in 1-1 correspondence with disjuncts |
Properties
Name | Description |
---|---|
Query | Return our associated DisjunctionMaxQuery |
Methods
Name | Description |
---|---|
Explain(AtomicReaderContext, Int32) | Explain the score we computed for doc |
GetScorer(AtomicReaderContext, IBits) | Create the scorer used to score our associated DisjunctionMaxQuery |
GetValueForNormalization() | Compute the sub of squared weights of us applied to our subqueries. Used for normalization. |
Normalize(Single, Single) | Apply the computed normalization factor to our subqueries |