Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef FIELDSORTEDTERMVECTORMAPPER_H
8 #define FIELDSORTEDTERMVECTORMAPPER_H
10 #include <boost/function.hpp>
39 virtual void setExpectations(
const String& field, int32_t numTerms,
bool storeOffsets,
bool storePositions);
virtual void setExpectations(const String &field, int32_t numTerms, bool storeOffsets, bool storePositions)
Tell the mapper what to expect in regards to field, number of terms, offset and position storage.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
String currentField
Definition: FieldSortedTermVectorMapper.h:31
MapStringCollectionTermVectorEntry fieldToTerms
Definition: FieldSortedTermVectorMapper.h:26
TermVectorEntryComparator getComparator()
TermVectorEntryComparator comparator
Definition: FieldSortedTermVectorMapper.h:32
MapStringCollectionTermVectorEntry getFieldToTerms()
Get the mapping between fields and terms, sorted by the comparator.
Collection< TermVectorEntryPtr > currentSet
Definition: FieldSortedTermVectorMapper.h:30
Definition: AbstractAllTermDocs.h:12
FieldSortedTermVectorMapper(TermVectorEntryComparator comparator)
For each Field, store a sorted collection of TermVectorEntrys This is not thread-safe.
Definition: FieldSortedTermVectorMapper.h:17
The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel ...
Definition: TermVectorMapper.h:18
FieldSortedTermVectorMapper(bool ignoringPositions, bool ignoringOffsets, TermVectorEntryComparator comparator)
virtual ~FieldSortedTermVectorMapper()
virtual void map(const String &term, int32_t frequency, Collection< TermVectorOffsetInfoPtr > offsets, Collection< int32_t > positions)
Map the Term Vector information into your own structure.
clucene.sourceforge.net