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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TermVectorsTermsWriterPerField.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 TERMVECTORSTERMSWRITERPERFIELD_H
8 #define TERMVECTORSTERMSWRITERPERFIELD_H
9 
11 
12 namespace Lucene {
13 
15 public:
18 
20 
21 public:
28 
29  bool doVectors;
32 
33  int32_t maxNumPostings;
35 
36 public:
37  virtual int32_t getStreamCount();
38  virtual bool start(Collection<FieldablePtr> fields, int32_t count);
39  virtual void abort();
40 
43  virtual void finish();
44 
45  void shrinkHash();
46 
47  virtual void start(const FieldablePtr& field);
48  virtual void newTerm(const RawPostingListPtr& p0);
49  virtual void addTerm(const RawPostingListPtr& p0);
50  virtual void skippingLongTerm();
51 };
52 
53 }
54 
55 #endif

clucene.sourceforge.net