org.apache.lucene.search
public class Explanation extends Object implements Serializable
| Constructor Summary | |
|---|---|
| Explanation() | |
| Explanation(float value, String description) | |
| Method Summary | |
|---|---|
| void | addDetail(Explanation detail) Adds a sub-node to this explanation node. |
| String | getDescription() A description of this explanation node. |
| Explanation[] | getDetails() The sub-nodes of this explanation node. |
| float | getValue() The value assigned to this explanation node. |
| void | setDescription(String description) Sets the description of this explanation node. |
| void | setValue(float value) Sets the value assigned to this explanation node. |
| String | toHtml() Render an explanation as HTML. |
| String | toString() Render an explanation as text. |