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

FreqProxTermsWriterPerThread.h
Go to the documentation of this file.
1 // 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 FREQPROXTERMSWRITERPERTHREAD_H
8 #define FREQPROXTERMSWRITERPERTHREAD_H
9
10 #include "TermsHashConsumerPerThread.h"
11
12 namespace Lucene {
13
14 class FreqProxTermsWriterPerThread : public TermsHashConsumerPerThread {
15 public:
16 FreqProxTermsWriterPerThread(const TermsHashPerThreadPtr& perThread);
17 virtual ~FreqProxTermsWriterPerThread();
18
19 LUCENE_CLASS(FreqProxTermsWriterPerThread);
20
21 public:
22 TermsHashPerThreadWeakPtr _termsHashPerThread;
23 DocStatePtr docState;
24
25 public:
26 virtual TermsHashConsumerPerFieldPtr addField(const TermsHashPerFieldPtr& termsHashPerField, const FieldInfoPtr& fieldInfo);
27 virtual void startDocument();
28 virtual DocWriterPtr finishDocument();
29 virtual void abort();
30 };
31
32 }
33
34 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::FreqProxTermsWriterPerThread::docState
DocStatePtr docState
Definition: FreqProxTermsWriterPerThread.h:23
Lucene::TermsHashConsumerPerThread
Definition: TermsHashConsumerPerThread.h:14
Lucene::DocWriterPtr
boost::shared_ptr< DocWriter > DocWriterPtr
Definition: LuceneTypes.h:125
Lucene::FreqProxTermsWriterPerThread::finishDocument
virtual DocWriterPtr finishDocument()
Lucene::FreqProxTermsWriterPerThread::startDocument
virtual void startDocument()
Lucene::TermsHashPerFieldPtr
boost::shared_ptr< TermsHashPerField > TermsHashPerFieldPtr
Definition: LuceneTypes.h:250
Lucene::TermsHashPerThreadWeakPtr
boost::weak_ptr< TermsHashPerThread > TermsHashPerThreadWeakPtr
Definition: LuceneTypes.h:251
Lucene::TermsHashPerThreadPtr
boost::shared_ptr< TermsHashPerThread > TermsHashPerThreadPtr
Definition: LuceneTypes.h:251
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::FreqProxTermsWriterPerThread
Definition: FreqProxTermsWriterPerThread.h:14
Lucene::FieldInfoPtr
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
Lucene::FreqProxTermsWriterPerThread::_termsHashPerThread
TermsHashPerThreadWeakPtr _termsHashPerThread
Definition: FreqProxTermsWriterPerThread.h:19
Lucene::FreqProxTermsWriterPerThread::~FreqProxTermsWriterPerThread
virtual ~FreqProxTermsWriterPerThread()
Lucene::FreqProxTermsWriterPerThread::addField
virtual TermsHashConsumerPerFieldPtr addField(const TermsHashPerFieldPtr &termsHashPerField, const FieldInfoPtr &fieldInfo)
Lucene::TermsHashConsumerPerFieldPtr
boost::shared_ptr< TermsHashConsumerPerField > TermsHashConsumerPerFieldPtr
Definition: LuceneTypes.h:248
Lucene::DocStatePtr
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
TermsHashConsumerPerThread.h
Lucene::FreqProxTermsWriterPerThread::FreqProxTermsWriterPerThread
FreqProxTermsWriterPerThread(const TermsHashPerThreadPtr &perThread)
Lucene::FreqProxTermsWriterPerThread::abort
virtual void abort()

clucene.sourceforge.net