Class ComplexExplanation
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class ComplexExplanation : Explanation
Constructors
ComplexExplanation()
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
Declaration
public ComplexExplanation()
ComplexExplanation(bool, float, string)
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
Declaration
public ComplexExplanation(bool match, float value, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | match | |
| float | value | |
| string | description |
Properties
IsMatch
Indicates whether or not this Explanation models a good match.
If the match status is explicitly set (i.e.: not null) this method uses it; otherwise it defers to the superclass.
Declaration
public override bool IsMatch { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
See Also
Match
Gets or Sets the match status assigned to this explanation node.
May be null if match status is unknown.
Declaration
public virtual bool? Match { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetSummary()
A short one line summary which should contain all high level information about this Explanation, without the "Details"
Declaration
protected override string GetSummary()
Returns
| Type | Description |
|---|---|
| string |