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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FreqProxTermsWriterPerThread.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 FREQPROXTERMSWRITERPERTHREAD_H
8 #define FREQPROXTERMSWRITERPERTHREAD_H
9
10 #include "TermsHashConsumerPerThread.h"
11
12 namespace Lucene
13 {
14 class FreqProxTermsWriterPerThread : public TermsHashConsumerPerThread
15 {
16 public:
17 FreqProxTermsWriterPerThread(TermsHashPerThreadPtr perThread);
18 virtual ~FreqProxTermsWriterPerThread();
19
20 LUCENE_CLASS(FreqProxTermsWriterPerThread);
21
22 public:
23 TermsHashPerThreadWeakPtr _termsHashPerThread;
24 DocStatePtr docState;
25
26 public:
27 virtual TermsHashConsumerPerFieldPtr addField(TermsHashPerFieldPtr termsHashPerField, FieldInfoPtr fieldInfo);
28 virtual void startDocument();
29 virtual DocWriterPtr finishDocument();
30 virtual void abort();
31 };
32 }
33
34 #endif

clucene.sourceforge.net