Fork me on GitHub
  • API

    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()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    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 © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.