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
| Improve this Doc View SourceComplexExplanation()
Declaration
public ComplexExplanation()
ComplexExplanation(Boolean, Single, String)
Declaration
public ComplexExplanation(bool match, float value, string description)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | match | |
System.Single | value | |
System.String | description |
Properties
| Improve this Doc View SourceIsMatch
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 |
---|---|
System.Boolean |
Overrides
See Also
| Improve this Doc View SourceMatch
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 |
---|---|
System.Nullable<System.Boolean> |
Methods
| Improve this Doc View SourceGetSummary()
Declaration
protected override string GetSummary()
Returns
Type | Description |
---|---|
System.String |