ExplanationAsserter

class ExplanationAsserter(var q: Query, defaultFieldName: String?, var s: IndexSearcher, deep: Boolean = false) : 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

Constructors

Link copied to clipboard
constructor(q: Query, defaultFieldName: String?, s: IndexSearcher, deep: Boolean = false)

Properties

Link copied to clipboard
var d: String
Link copied to clipboard
Link copied to clipboard
var q: Query
Link copied to clipboard
Link copied to clipboard
open override var scorer: Scorable?
Link copied to clipboard
open override var weight: Weight?

Functions

Link copied to clipboard
open fun collect(stream: DocIdStream)
open override fun collect(doc: Int)
Link copied to clipboard
Link copied to clipboard
open fun finish()
Link copied to clipboard
open override fun getLeafCollector(context: LeafReaderContext): LeafCollector
Link copied to clipboard
open override fun scoreMode(): ScoreMode