Show / Hide Table of Contents

    Class ComplexExplanation

    Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.

    Inheritance
    System.Object
    Explanation
    ComplexExplanation
    Inherited Members
    Explanation.Value
    Explanation.Description
    Explanation.GetDetails()
    Explanation.AddDetail(Explanation)
    Explanation.ToString()
    Explanation.ToString(Int32)
    Explanation.ToHtml()
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class ComplexExplanation : Explanation

    Constructors

    | Improve this Doc View Source

    ComplexExplanation()

    Declaration
    public ComplexExplanation()
    | Improve this Doc View Source

    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 Source

    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
    System.Boolean
    Overrides
    Explanation.IsMatch
    See Also
    Match
    | Improve this Doc View Source

    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
    System.Nullable<System.Boolean>

    Methods

    | Improve this Doc View Source

    GetSummary()

    Declaration
    protected override string GetSummary()
    Returns
    Type Description
    System.String
    Overrides
    Explanation.GetSummary()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)