Apache Lucene.Net 2.4.0 Class Library API

CustomScoreQuery.CustomExplain Method (Int32, Explanation, Explanation[])

Explain the custom score. Whenever overriding {@link #CustomScore(int, float, float[])}, this method should also be overridden to provide the correct explanation for the part of the custom scoring.

public virtual Explanation CustomExplain(
   int doc,
   Explanation subQueryExpl,
   Explanation[] valSrcExpls
);

Parameters

doc
doc being explained.
subQueryExpl
explanation for the sub-query part.
valSrcExpls
explanation for the value source part.

Return Value

an explanation for the custom score

See Also

CustomScoreQuery Class | Lucene.Net.Search.Function Namespace | CustomScoreQuery.CustomExplain Overload List