Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef SORTEDTERMVECTORMAPPER_H
8 #define SORTEDTERMVECTORMAPPER_H
10 #include <boost/function.hpp>
41 static const wchar_t*
ALL;
48 virtual void setExpectations(
const String& field, int32_t numTerms,
bool storeOffsets,
bool storePositions);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Collection< TermVectorEntryPtr > getTermVectorEntrySet()
The TermVectorEntrySet. A SortedSet of TermVectorEntry objects. Sort is by the comparator passed into...
static const wchar_t * ALL
Definition: SortedTermVectorMapper.h:41
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.
Store a sorted collection of TermVectorEntrys. Collects all term information into a single,...
Definition: SortedTermVectorMapper.h:22
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.
Definition: AbstractAllTermDocs.h:12
bool storeOffsets
Definition: SortedTermVectorMapper.h:36
MapStringTermVectorEntry termToTVE
Definition: SortedTermVectorMapper.h:35
SortedTermVectorMapper(bool ignoringPositions, bool ignoringOffsets, TermVectorEntryComparator comparator)
virtual ~SortedTermVectorMapper()
The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel ...
Definition: TermVectorMapper.h:18
Collection< TermVectorEntryPtr > currentSet
Definition: SortedTermVectorMapper.h:31
TermVectorEntryComparator comparator
Definition: SortedTermVectorMapper.h:38
bool storePositions
Definition: SortedTermVectorMapper.h:37
SortedTermVectorMapper(TermVectorEntryComparator comparator)
clucene.sourceforge.net