Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
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
10
#include "
InvertedDocEndConsumerPerThread.h
"
11
12
namespace
Lucene
{
13
14
class
NormsWriterPerThread
:
public
InvertedDocEndConsumerPerThread
{
15
public
:
16
NormsWriterPerThread
(
const
DocInverterPerThreadPtr
& docInverterPerThread,
const
NormsWriterPtr
& normsWriter);
17
virtual
~NormsWriterPerThread
();
18
19
LUCENE_CLASS
(
NormsWriterPerThread
);
20
21
public
:
22
NormsWriterWeakPtr
_normsWriter
;
23
DocStatePtr
docState
;
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
InvertedDocEndConsumerPerThread.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition
LuceneObject.h:24
Lucene::InvertedDocEndConsumerPerThread
Definition
InvertedDocEndConsumerPerThread.h:14
Lucene::NormsWriterPerThread::finishDocument
virtual void finishDocument()
Lucene::NormsWriterPerThread::abort
virtual void abort()
Lucene::NormsWriterPerThread::docState
DocStatePtr docState
Definition
NormsWriterPerThread.h:23
Lucene::NormsWriterPerThread::freeRAM
bool freeRAM()
Lucene::NormsWriterPerThread::~NormsWriterPerThread
virtual ~NormsWriterPerThread()
Lucene::NormsWriterPerThread::NormsWriterPerThread
NormsWriterPerThread(const DocInverterPerThreadPtr &docInverterPerThread, const NormsWriterPtr &normsWriter)
Lucene::NormsWriterPerThread::_normsWriter
NormsWriterWeakPtr _normsWriter
Definition
NormsWriterPerThread.h:22
Lucene::NormsWriterPerThread::addField
virtual InvertedDocEndConsumerPerFieldPtr addField(const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo)
Lucene::NormsWriterPerThread::startDocument
virtual void startDocument()
Lucene
Definition
AbstractAllTermDocs.h:12
Lucene::NormsWriterWeakPtr
boost::weak_ptr< NormsWriter > NormsWriterWeakPtr
Definition
LuceneTypes.h:188
Lucene::DocInverterPerFieldPtr
boost::shared_ptr< DocInverterPerField > DocInverterPerFieldPtr
Definition
LuceneTypes.h:120
Lucene::FieldInfoPtr
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition
LuceneTypes.h:126
Lucene::DocStatePtr
boost::shared_ptr< DocState > DocStatePtr
Definition
LuceneTypes.h:122
Lucene::NormsWriterPtr
boost::shared_ptr< NormsWriter > NormsWriterPtr
Definition
LuceneTypes.h:188
Lucene::InvertedDocEndConsumerPerFieldPtr
boost::shared_ptr< InvertedDocEndConsumerPerField > InvertedDocEndConsumerPerFieldPtr
Definition
LuceneTypes.h:167
Lucene::DocInverterPerThreadPtr
boost::shared_ptr< DocInverterPerThread > DocInverterPerThreadPtr
Definition
LuceneTypes.h:121
clucene.sourceforge.net