Class Scorer
Expert: Common scoring functionality for different types of queries.
A Scorer iterates over documents matching a query in increasing order of doc Id.
Document scores are computed using a given Similarity implementation.
NOTE: The values
Inheritance
System.Object
Scorer
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class Scorer : DocsEnum
Constructors
| Improve this Doc View SourceScorer(Weight)
Constructs a Scorer
Declaration
protected Scorer(Weight weight)
Parameters
Fields
| Improve this Doc View Sourcem_weight
Declaration
protected readonly Weight m_weight
Field Value
Type | Description |
---|---|
Weight |
Properties
| Improve this Doc View SourceWeight
Declaration
public virtual Weight Weight { get; }
Property Value
Type | Description |
---|---|
Weight |
Methods
| Improve this Doc View SourceGetChildren()
Returns child sub-scorers
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Declaration
public virtual ICollection<Scorer.ChildScorer> GetChildren()
Returns
Type | Description |
---|---|
ICollection<Scorer. |
GetScore()
Returns the score of the current document matching the query.
Initially invalid, until Next
Declaration
public abstract float GetScore()
Returns
Type | Description |
---|---|
System. |