org.apache.lucene.search.highlight
public class TokenGroup extends Object
| Method Summary | |
|---|---|
| int | getEndOffset() |
| int | getNumTokens() |
| float | getScore(int index) |
| int | getStartOffset() |
| Token | getToken(int index) |
| float | getTotalScore() |
Returns: the end position in the original text
Returns: the number of tokens in this group
Parameters: index a value between 0 and numTokens -1
Returns: the "n"th score
Returns: the start position in the original text
Parameters: index a value between 0 and numTokens -1
Returns: the "n"th token
Returns: all tokens' scores summed up