Method Explain
Explain(Query, Int32)
Returns an Explanation that describes how doc
scored against
query
.
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.
Declaration
public virtual Explanation Explain(Query query, int doc)
Parameters
Type |
Name |
Description |
Query |
query |
|
System.Int32 |
doc |
|
Returns
Explain(Weight, Int32)
Declaration
public abstract Explanation Explain(Weight weight, int doc)
Parameters
Type |
Name |
Description |
Weight |
weight |
|
System.Int32 |
doc |
|
Returns
Implements