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


Loading...
Searching...
No Matches
NormsWriterPerThread.h
Go to the documentation of this file.
1
2// 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
12namespace Lucene {
13
15public:
16 NormsWriterPerThread(const DocInverterPerThreadPtr& docInverterPerThread, const NormsWriterPtr& normsWriter);
18
20
21public:
24
25public:
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
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Definition InvertedDocEndConsumerPerThread.h:14
Definition NormsWriterPerThread.h:14
DocStatePtr docState
Definition NormsWriterPerThread.h:23
NormsWriterPerThread(const DocInverterPerThreadPtr &docInverterPerThread, const NormsWriterPtr &normsWriter)
NormsWriterWeakPtr _normsWriter
Definition NormsWriterPerThread.h:22
virtual InvertedDocEndConsumerPerFieldPtr addField(const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo)
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DocState > DocStatePtr
Definition LuceneTypes.h:122
boost::weak_ptr< NormsWriter > NormsWriterWeakPtr
Definition LuceneTypes.h:188
boost::shared_ptr< DocInverterPerField > DocInverterPerFieldPtr
Definition LuceneTypes.h:120
boost::shared_ptr< NormsWriter > NormsWriterPtr
Definition LuceneTypes.h:188
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition LuceneTypes.h:121
boost::shared_ptr< InvertedDocEndConsumerPerField > InvertedDocEndConsumerPerFieldPtr
Definition LuceneTypes.h:167
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition LuceneTypes.h:126

clucene.sourceforge.net