Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef TERMVECTORSWRITER_H
8 #define TERMVECTORSWRITER_H
virtual ~TermVectorsWriter()
FieldInfosPtr fieldInfos
Definition: TermVectorsWriter.h:25
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
void addRawDocuments(const TermVectorsReaderPtr &reader, Collection< int32_t > tvdLengths, Collection< int32_t > tvfLengths, int32_t numDocs)
Do a bulk copy of numDocs documents from reader to our streams. This is used to expedite merging,...
Definition: TermVectorsWriter.h:14
IndexOutputPtr tvx
Definition: TermVectorsWriter.h:19
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
TermVectorsWriter(const DirectoryPtr &directory, const String &segment, const FieldInfosPtr &fieldInfos)
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
IndexOutputPtr tvf
Definition: TermVectorsWriter.h:24
IndexOutputPtr tvd
Definition: TermVectorsWriter.h:23
void addAllDocVectors(Collection< TermFreqVectorPtr > vectors)
Add a complete document specified by all its term vectors. If document has no term vectors,...
void close()
Close all streams.
boost::shared_ptr< Directory > DirectoryPtr
Definition: LuceneTypes.h:489
boost::shared_ptr< TermVectorsReader > TermVectorsReaderPtr
Definition: LuceneTypes.h:256
Collection< UTF8ResultPtr > utf8Results
Definition: TermVectorsWriter.h:26
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
clucene.sourceforge.net