| java.lang.Object org.apache.lucene.search.Hit
Constructor Summary | |
| Hit(Hits hits, int hitNumber) |
Method Summary | |
public String | get(String name) Returns the string value of the field with the given name if any exist in
this document, or null. | public float | getBoost() Returns the boost factor for this hit on any field of the underlying document. | public Document | getDocument() Returns document for this hit. | public int | getId() Returns id for this hit. | public float | getScore() Returns score for this hit. | public String | toString() Prints the parameters to be used to discover the promised result. |
Hit | Hit(Hits hits, int hitNumber)(Code) | | Constructed from
HitIterator Parameters: hits - Hits returned from a search Parameters: hitNumber - Hit index in Hits |
toString | public String toString()(Code) | | Prints the parameters to be used to discover the promised result.
|
|
|