Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store.instantiated |
InstantiatedIndex, alternative RAM store for small corpora.
|
Modifier and Type | Field | Description |
---|---|---|
static TermVectorOffsetInfo[] |
TermVectorOffsetInfo.EMPTY_OFFSET_INFO |
Convenience declaration when creating a
TermPositionVector that stores only position information. |
Modifier and Type | Method | Description |
---|---|---|
TermVectorOffsetInfo[] |
TermPositionVector.getOffsets(int index) |
Returns an array of TermVectorOffsetInfo in which the term is found.
|
TermVectorOffsetInfo[] |
TermVectorEntry.getOffsets() |
Modifier and Type | Method | Description |
---|---|---|
List<TermVectorOffsetInfo> |
PositionBasedTermVectorMapper.TVPositionInfo.getOffsets() |
Parallel list (to
PositionBasedTermVectorMapper.TVPositionInfo.getTerms() ) of TermVectorOffsetInfo objects. |
Modifier and Type | Method | Description |
---|---|---|
void |
FieldSortedTermVectorMapper.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 |
SortedTermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
|
abstract void |
TermVectorMapper.map(String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
Map the Term Vector information into your own structure
|
Constructor | Description |
---|---|
TermVectorEntry(String field,
String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
Modifier and Type | Method | Description |
---|---|---|
TermVectorOffsetInfo[] |
InstantiatedTermPositionVector.getOffsets(int index) |
|
TermVectorOffsetInfo[] |
InstantiatedTermDocumentInformation.getTermOffsets() |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.