public static class PositionBasedTermVectorMapper.TVPositionInfo extends Object
Constructor and Description |
---|
PositionBasedTermVectorMapper.TVPositionInfo(int position,
boolean storeOffsets) |
Modifier and Type | Method and Description |
---|---|
List<TermVectorOffsetInfo> |
getOffsets()
Parallel list (to
getTerms() ) of TermVectorOffsetInfo objects. |
int |
getPosition() |
List<String> |
getTerms()
Note, there may be multiple terms at the same position
|
public PositionBasedTermVectorMapper.TVPositionInfo(int position, boolean storeOffsets)
public int getPosition()
public List<String> getTerms()
public List<TermVectorOffsetInfo> getOffsets()
getTerms()
) of TermVectorOffsetInfo objects. There may be multiple entries since there may be multiple terms at a position