Class CheckHits.ExplanationAsserter

java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.tests.search.CheckHits.ExplanationAsserter
All Implemented Interfaces:
Collector, LeafCollector
Enclosing class:
CheckHits

public static class CheckHits.ExplanationAsserter extends SimpleCollector
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 Searcher specified at when it is constructed.

See Also: