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


NormsWriterPerThread.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 NORMSWRITERPERTHREAD_H
8 #define NORMSWRITERPERTHREAD_H
9 
11 
12 namespace Lucene {
13 
15 public:
16  NormsWriterPerThread(const DocInverterPerThreadPtr& docInverterPerThread, const NormsWriterPtr& normsWriter);
17  virtual ~NormsWriterPerThread();
18 
20 
21 public:
24 
25 public:
26  virtual InvertedDocEndConsumerPerFieldPtr addField(const DocInverterPerFieldPtr& docInverterPerField, const FieldInfoPtr& fieldInfo);
27  virtual void abort();
28  virtual void startDocument();
29  virtual void finishDocument();
30 
31  bool freeRAM();
32 };
33 
34 }
35 
36 #endif
Lucene::NormsWriterPerThread::freeRAM
bool freeRAM()
InvertedDocEndConsumerPerThread.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::NormsWriterWeakPtr
boost::weak_ptr< NormsWriter > NormsWriterWeakPtr
Definition: LuceneTypes.h:188
Lucene::NormsWriterPerThread::finishDocument
virtual void finishDocument()
Lucene::NormsWriterPerThread::~NormsWriterPerThread
virtual ~NormsWriterPerThread()
Lucene::NormsWriterPerThread::startDocument
virtual void startDocument()
Lucene::NormsWriterPtr
boost::shared_ptr< NormsWriter > NormsWriterPtr
Definition: LuceneTypes.h:188
Lucene::DocInverterPerThreadPtr
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition: LuceneTypes.h:121
Lucene::NormsWriterPerThread
Definition: NormsWriterPerThread.h:14
Lucene::NormsWriterPerThread::addField
virtual InvertedDocEndConsumerPerFieldPtr addField(const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo)
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::FieldInfoPtr
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
Lucene::DocInverterPerFieldPtr
boost::shared_ptr< DocInverterPerField > DocInverterPerFieldPtr
Definition: LuceneTypes.h:120
Lucene::NormsWriterPerThread::abort
virtual void abort()
Lucene::NormsWriterPerThread::docState
DocStatePtr docState
Definition: NormsWriterPerThread.h:23
Lucene::NormsWriterPerThread::NormsWriterPerThread
NormsWriterPerThread(const DocInverterPerThreadPtr &docInverterPerThread, const NormsWriterPtr &normsWriter)
Lucene::DocStatePtr
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
Lucene::InvertedDocEndConsumerPerThread
Definition: InvertedDocEndConsumerPerThread.h:14
Lucene::NormsWriterPerThread::_normsWriter
NormsWriterWeakPtr _normsWriter
Definition: NormsWriterPerThread.h:19
Lucene::InvertedDocEndConsumerPerFieldPtr
boost::shared_ptr< InvertedDocEndConsumerPerField > InvertedDocEndConsumerPerFieldPtr
Definition: LuceneTypes.h:167

clucene.sourceforge.net