Expert: low-level implementation method Returns an Explanation that describes how
CopyC#
doc
scored against
CopyC#
weight
.

This is intended to be used in developing Similarity implementations, and, for good performance, should not be displayed with every hit. Computing an explanation is as expensive as executing the query over the entire index.

Applications should call {@link Searcher#Explain(Query, int)}.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
Explanation Explain(
	Weight weight,
	int doc
)
Visual Basic
Function Explain ( _
	weight As Weight, _
	doc As Integer _
) As Explanation
Visual C++
Explanation^ Explain(
	Weight^ weight, 
	int doc
)

Parameters

weight
Type: Lucene.Net.Search..::..Weight

[Missing <param name="weight"/> documentation for "M:Lucene.Net.Search.Searchable.Explain(Lucene.Net.Search.Weight,System.Int32)"]

doc
Type: System..::..Int32

[Missing <param name="doc"/> documentation for "M:Lucene.Net.Search.Searchable.Explain(Lucene.Net.Search.Weight,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.Searchable.Explain(Lucene.Net.Search.Weight,System.Int32)"]

See Also