explain

abstract fun explain(context: LeafReaderContext, doc: Int): Explanation

An explanation of the score computation for the named document.

Return

an Explanation for the score

Parameters

context

the readers context to create the Explanation for.

doc

the document's id relative to the given context's reader

Throws

IOException

if an IOException occurs