7 #ifndef SEGMENTTERMPOSITIONVECTOR_H 8 #define SEGMENTTERMPOSITIONVECTOR_H SegmentTermPositionVector(const String &field, Collection< String > terms, Collection< int32_t > termFreqs, Collection< Collection< int32_t > > positions, Collection< Collection< TermVectorOffsetInfoPtr > > offsets)
Collection< String > terms
Definition: SegmentTermVector.h:23
Collection< Collection< int32_t > > positions
Definition: SegmentTermPositionVector.h:20
static const Collection< int32_t > EMPTY_TERM_POS()
Definition: SegmentTermPositionVector.h:14
virtual Collection< TermVectorOffsetInfoPtr > getOffsets(int32_t index)
Returns an array of TermVectorOffsetInfo in which the term is found.
Definition: SegmentTermVector.h:14
Collection< int32_t > termFreqs
Definition: SegmentTermVector.h:24
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Collection< Collection< TermVectorOffsetInfoPtr > > offsets
Definition: SegmentTermPositionVector.h:24
String field
Definition: SegmentTermVector.h:19
virtual ~SegmentTermPositionVector()
virtual Collection< int32_t > getTermPositions(int32_t index)
Returns an array of positions in which the term is found. Terms are identified by the index at which ...