public class HitInfo
extends java.lang.Object
implements java.io.Serializable
The fieldName
field stores the field name, e.g.:
FileDescriptor
entity is a special case and the fieldName for it
contains a file name
The highlightedText
stores a piece of field that contains a search term, e.g. "... some word was found ..."
Constructor and Description |
---|
HitInfo(java.lang.String fieldName,
java.lang.String highlightedText) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFieldName() |
java.lang.String |
getHighlightedText() |