Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
static TermVectorOffsetInfo[] |
TermVectorOffsetInfo.EMPTY_OFFSET_INFO
Convenience declaration when creating a
TermPositionVector that stores only position information. |
Modifier and Type | Method and Description |
---|---|
TermVectorOffsetInfo[] |
TermVectorEntry.getOffsets() |
TermVectorOffsetInfo[] |
TermPositionVector.getOffsets(int index)
Returns an array of TermVectorOffsetInfo in which the term is found.
|
Modifier and Type | Method and Description |
---|---|
List<TermVectorOffsetInfo> |
PositionBasedTermVectorMapper.TVPositionInfo.getOffsets()
Parallel list (to
PositionBasedTermVectorMapper.TVPositionInfo.getTerms() ) of TermVectorOffsetInfo objects. |
Modifier and Type | Method and Description |
---|---|
abstract void |
TermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions)
Map the Term Vector information into your own structure
|
void |
SortedTermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
void |
PositionBasedTermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions)
Callback for the TermVectorReader.
|
void |
FieldSortedTermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
Constructor and Description |
---|
TermVectorEntry(String field,
String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |