Class AssertingScorer
Wraps a Scorer with additional checks.
Inheritance
System.Object
AssertingScorer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingScorer : Scorer
Properties
|
Improve this Doc
View Source
DocID
Declaration
public override int DocID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Freq
Declaration
public override int Freq { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
In
Declaration
public virtual Scorer In { get; }
Property Value
Methods
|
Improve this Doc
View Source
Advance(Int32)
Declaration
public override int Advance(int target)
Parameters
Type |
Name |
Description |
System.Int32 |
target |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetChildren()
Declaration
public override ICollection<Scorer.ChildScorer> GetChildren()
Returns
Overrides
|
Improve this Doc
View Source
GetCost()
Declaration
public override long GetCost()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
GetScore()
Declaration
public override float GetScore()
Returns
Type |
Description |
System.Single |
|
Overrides
|
Improve this Doc
View Source
NextDoc()
Declaration
public override int NextDoc()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Wrap(Random, Scorer)
Declaration
public static Scorer Wrap(Random random, Scorer other)
Parameters
Type |
Name |
Description |
System.Random |
random |
|
Scorer |
other |
|
Returns