Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef TERMVECTORMAPPER_H
8 #define TERMVECTORMAPPER_H
42 virtual void setExpectations(
const String& field, int32_t numTerms,
bool storeOffsets,
bool storePositions) = 0;
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual void setExpectations(const String &field, int32_t numTerms, bool storeOffsets, bool storePositions)=0
Tell the mapper what to expect in regards to field, number of terms, offset and position storage....
virtual bool isIgnoringOffsets()
Definition: AbstractAllTermDocs.h:12
TermVectorMapper(bool ignoringPositions=false, bool ignoringOffsets=false)
Base class for all Lucene classes.
Definition: LuceneObject.h:31
bool ignoringOffsets
Definition: TermVectorMapper.h:31
virtual void setDocumentNumber(int32_t documentNumber)
Passes down the index of the document whose term vector is currently being mapped,...
virtual bool isIgnoringPositions()
Indicate to Lucene that even if there are positions stored, this mapper is not interested in them and...
virtual ~TermVectorMapper()
The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel ...
Definition: TermVectorMapper.h:18
bool ignoringPositions
Definition: TermVectorMapper.h:27
virtual void map(const String &term, int32_t frequency, Collection< TermVectorOffsetInfoPtr > offsets, Collection< int32_t > positions)=0
Map the Term Vector information into your own structure.
clucene.sourceforge.net