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 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 |
---|---|
abstract void |
TermVectorMapper.map(java.lang.String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions)
Map the Term Vector information into your own structure
|
void |
FieldSortedTermVectorMapper.map(java.lang.String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
void |
PositionBasedTermVectorMapper.map(java.lang.String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions)
Callback for the TermVectorReader.
|
void |
SortedTermVectorMapper.map(java.lang.String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
Constructor and Description |
---|
TermVectorEntry(java.lang.String field,
java.lang.String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions) |
Modifier and Type | Method and Description |
---|---|
TermVectorOffsetInfo[] |
InstantiatedTermPositionVector.getOffsets(int index) |
TermVectorOffsetInfo[] |
InstantiatedTermDocumentInformation.getTermOffsets() |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.