Class AssertingScorer
Wraps a Lucene.Net.Search.Scorer with additional checks.
Inheritance
System.Object
Lucene.Net.Search.DocIdSetIterator
Lucene.Net.Index.DocsEnum
Lucene.Net.Search.Scorer
AssertingScorer
Inherited Members
Lucene.Net.Search.Scorer.m_weight
Lucene.Net.Search.Scorer.Weight
Lucene.Net.Index.DocsEnum.Attributes
Lucene.Net.Search.DocIdSetIterator.GetEmpty()
Lucene.Net.Search.DocIdSetIterator.NO_MORE_DOCS
Lucene.Net.Search.DocIdSetIterator.SlowAdvance(System.Int32)
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)
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingScorer : Scorer
Properties
| Improve this Doc View SourceDocID
Declaration
public override int DocID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Search.DocIdSetIterator.DocID
|
Improve this Doc
View Source
Freq
Declaration
public override int Freq { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Index.DocsEnum.Freq
|
Improve this Doc
View Source
In
Declaration
public virtual Scorer In { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Search.Scorer |
Methods
| Improve this Doc View SourceAdvance(Int32)
Declaration
public override int Advance(int target)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | target |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Search.DocIdSetIterator.Advance(System.Int32)
|
Improve this Doc
View Source
GetChildren()
Declaration
public override ICollection<Scorer.ChildScorer> GetChildren()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<Lucene.Net.Search.Scorer.ChildScorer> |
Overrides
Lucene.Net.Search.Scorer.GetChildren()
|
Improve this Doc
View Source
GetCost()
Declaration
public override long GetCost()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Lucene.Net.Search.DocIdSetIterator.GetCost()
|
Improve this Doc
View Source
GetScore()
Declaration
public override float GetScore()
Returns
Type | Description |
---|---|
System.Single |
Overrides
Lucene.Net.Search.Scorer.GetScore()
|
Improve this Doc
View Source
NextDoc()
Declaration
public override int NextDoc()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Search.DocIdSetIterator.NextDoc()
|
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 | |
Lucene.Net.Search.Scorer | other |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Scorer |