Documentation of 'org.apache.lucene.search.ComplexExplanation' Java class
ComplexExplanation
org.apache.lucene.search

Class ComplexExplanation

  • All Implemented Interfaces:
    java.io.Serializable


    public class ComplexExplanation
    extends Explanation
    Expert: Describes the score computation for document and query, andcan distinguish a match independent of a positive value.
    See Also:
    Serialized Form
    • Constructor Detail

      • ComplexExplanation

        public ComplexExplanation()
      • ComplexExplanation

        public ComplexExplanation(boolean match,
                                  float value,
                                  java.lang.String description)
    • Method Detail

      • getMatch

        public java.lang.Boolean getMatch()
        The match status of this explanation node.
        Returns:
        May be null if match status is unknown
      • setMatch

        public void setMatch(java.lang.Boolean match)
        Sets the match status assigned to this explanation node.
        Parameters:
        match - May be null if match status is unknown
      • isMatch

        public boolean isMatch()
        Indicates wether or not this Explanation models a good match.

        If the match statis is explicitly set (ie: not null) this method uses it; otherwise it defers to the superclass.

        Overrides:
        isMatch in class Explanation
        See Also:
        getMatch()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.