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
include
NormsWriterPerThread.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 NORMSWRITERPERTHREAD_H
8
#define NORMSWRITERPERTHREAD_H
9
10
#include "
InvertedDocEndConsumerPerThread.h
"
11
12
namespace
Lucene
13
{
14
class
NormsWriterPerThread
:
public
InvertedDocEndConsumerPerThread
15
{
16
public
:
17
NormsWriterPerThread
(
DocInverterPerThreadPtr
docInverterPerThread,
NormsWriterPtr
normsWriter);
18
virtual
~NormsWriterPerThread
();
19
20
LUCENE_CLASS
(
NormsWriterPerThread
);
21
22
public
:
23
NormsWriterWeakPtr
_normsWriter
;
24
DocStatePtr
docState
;
25
26
public
:
27
virtual
InvertedDocEndConsumerPerFieldPtr
addField
(
DocInverterPerFieldPtr
docInverterPerField,
FieldInfoPtr
fieldInfo);
28
virtual
void
abort
();
29
virtual
void
startDocument
();
30
virtual
void
finishDocument
();
31
32
bool
freeRAM
();
33
};
34
}
35
36
#endif
clucene.sourceforge.net