Lucene++ - a full-featured, c++ search engine
API Documentation


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TermVectorsWriter.h
Go to the documentation of this file.
1 
2 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6 
7 #ifndef TERMVECTORSWRITER_H
8 #define TERMVECTORSWRITER_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
15 public:
16  TermVectorsWriter(const DirectoryPtr& directory, const String& segment, const FieldInfosPtr& fieldInfos);
17  virtual ~TermVectorsWriter();
18 
20 
21 protected:
27 
28 public:
32 
35  void addRawDocuments(const TermVectorsReaderPtr& reader, Collection<int32_t> tvdLengths, Collection<int32_t> tvfLengths, int32_t numDocs);
36 
38  void close();
39 };
40 
41 }
42 
43 #endif

clucene.sourceforge.net