| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.Explanation
org.apache.lucene.search.ComplexExplanation
public class ComplexExplanation
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.search.Explanation | 
|---|
| Explanation.IDFExplanation | 
| Constructor Summary | |
|---|---|
| ComplexExplanation() | |
| ComplexExplanation(boolean match,
                   float value,
                   String description) | |
| Method Summary | |
|---|---|
|  Boolean | getMatch()The match status of this explanation node. | 
| protected  String | getSummary()A short one line summary which should contain all high level information about this Explanation, without the "Details" | 
|  boolean | isMatch()Indicates whether or not this Explanation models a good match. | 
|  void | setMatch(Boolean match)Sets the match status assigned to this explanation node. | 
| Methods inherited from class org.apache.lucene.search.Explanation | 
|---|
| addDetail, getDescription, getDetails, getValue, setDescription, setValue, toHtml, toString, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ComplexExplanation()
public ComplexExplanation(boolean match,
                          float value,
                          String description)
| Method Detail | 
|---|
public Boolean getMatch()
public void setMatch(Boolean match)
match - May be null if match status is unknownpublic boolean isMatch()
If the match status is explicitly set (i.e.: not null) this method uses it; otherwise it defers to the superclass.
isMatch in class ExplanationgetMatch()protected String getSummary()
Explanation
getSummary in class Explanation| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||