Class ExplanationAsserter
Asserts that the score explanation for every document matching a query corresponds with the true score.
NOTE: this HitCollector should only be used with the Query and IndexSearcher specified at when it is constructed.
Inheritance
System.Object
ExplanationAsserter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: DistributedLucene.Net.TestFramework.dll
Syntax
[Serializable]
public class ExplanationAsserter : ICollector
Constructors
Name | Description |
---|---|
ExplanationAsserter(Query, String, IndexSearcher) | Constructs an instance which does shallow tests on the Explanation |
ExplanationAsserter(Query, String, IndexSearcher, Boolean) |
Properties
Name | Description |
---|---|
AcceptsDocsOutOfOrder |
Methods
Name | Description |
---|---|
Collect(Int32) | |
SetNextReader(AtomicReaderContext) | |
SetScorer(Scorer) |
Extension Methods
See Also
Lucene.Net.Search.CheckHits.VerifyExplanation(System.String,System.Int32,System.Single,System.Boolean,Lucene.Net.Search.Explanation)