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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TermsHashPerThread.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 TERMSHASHPERTHREAD_H
8 #define TERMSHASHPERTHREAD_H
9 
11 
12 namespace Lucene
13 {
15  {
16  public:
18  virtual ~TermsHashPerThread();
19 
21 
22  public:
29 
33  bool primary;
35 
38 
39  public:
40  virtual void initialize();
41 
42  virtual InvertedDocConsumerPerFieldPtr addField(DocInverterPerFieldPtr docInverterPerField, FieldInfoPtr fieldInfo);
43  virtual void abort();
44 
46  void morePostings();
47 
48  virtual void startDocument();
49  virtual DocWriterPtr finishDocument();
50 
52  void reset(bool recyclePostings);
53 
54  protected:
55  static bool noNullPostings(Collection<RawPostingListPtr> postings, int32_t count, const String& details);
56  };
57 }
58 
59 #endif

clucene.sourceforge.net