Home » lucene-3.0.1-src » org.apache » lucene » search » [javadoc | source]
org.apache.lucene.search
public class: ComplexExplanation [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Explanation
      org.apache.lucene.search.ComplexExplanation

All Implemented Interfaces:
    java$io$Serializable

Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
Constructor:
 public ComplexExplanation() 
 public ComplexExplanation(boolean match,
    float value,
    String description) 
Method from org.apache.lucene.search.ComplexExplanation Summary:
getMatch,   getSummary,   isMatch,   setMatch
Methods from org.apache.lucene.search.Explanation:
addDetail,   getDescription,   getDetails,   getSummary,   getValue,   isMatch,   setDescription,   setValue,   toHtml,   toString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.ComplexExplanation Detail:
 public Boolean getMatch() 
    The match status of this explanation node.
 protected String getSummary() 
 public boolean 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.

 public  void setMatch(Boolean match) 
    Sets the match status assigned to this explanation node.