public static class PositionBasedTermVectorMapper.TVPositionInfo extends Object
| Constructor | Description |
|---|---|
TVPositionInfo(int position,
boolean storeOffsets) |
| Modifier and Type | Method | 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 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 positionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.