Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef SEGMENTTERMVECTOR_H
8 #define SEGMENTTERMVECTOR_H
43 virtual int32_t
indexOf(
const String& term);
virtual Collection< String > getTerms()
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Collection< String > terms
Definition: SegmentTermVector.h:23
virtual ~SegmentTermVector()
virtual String getField()
virtual Collection< int32_t > indexesOf(Collection< String > termNumbers, int32_t start, int32_t length)
Just like indexOf(int) but searches for a number of terms at the same time.
SegmentTermVector(const String &field, Collection< String > terms, Collection< int32_t > termFreqs)
virtual String toString()
Returns a string representation of the object.
Definition: AbstractAllTermDocs.h:12
virtual Collection< int32_t > getTermFrequencies()
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual int32_t indexOf(const String &term)
Return an index in the term numbers array returned from getTerms at which the term with the specified...
Definition: SegmentTermVector.h:14
Collection< int32_t > termFreqs
Definition: SegmentTermVector.h:24
String field
Definition: SegmentTermVector.h:19
Extends TermFreqVector to provide additional information about positions in which each of the terms i...
Definition: TermPositionVector.h:16
clucene.sourceforge.net