public class Snippet
extends Object
Modifier and Type | Field and Description |
---|---|
int |
endNode
Node number of the last word in the hit
|
int |
endOffset
Word number of the last word in the hit, plus one
|
int |
rank
Rank of this snippet in the document, zero being the "best"
|
float |
score
Score of the snippet
|
String |
sectionType
'sectionType' from the original document, if any
|
int |
startNode
Node number of the first word in the hit
|
int |
startOffset
Word number of the first word in the hit
|
String |
text
Text of the snippet, including the hit and as much context as
poss
|
Constructor and Description |
---|
Snippet() |
public int rank
public float score
public String text
public String sectionType
public int startNode
public int startOffset
public int endNode
public int endOffset