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 // Copyright (c) 2009-2011 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  {
16  public:
19 
21 
22  public:
29 
30  bool doVectors;
33 
34  int32_t maxNumPostings;
36 
37  public:
38  virtual int32_t getStreamCount();
39  virtual bool start(Collection<FieldablePtr> fields, int32_t count);
40  virtual void abort();
41 
44  virtual void finish();
45 
46  void shrinkHash();
47 
48  virtual void start(FieldablePtr field);
49  virtual void newTerm(RawPostingListPtr p0);
50  virtual void addTerm(RawPostingListPtr p0);
51  virtual void skippingLongTerm();
52  };
53 }
54 
55 #endif

clucene.sourceforge.net