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
DocInverterPerField.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 DOCINVERTERPERFIELD_H
8
#define DOCINVERTERPERFIELD_H
9
10
#include "
DocFieldConsumerPerField.h
"
11
12
namespace
Lucene {
13
17
class
DocInverterPerField
:
public
DocFieldConsumerPerField
{
18
public
:
19
DocInverterPerField
(
const
DocInverterPerThreadPtr
& perThread,
const
FieldInfoPtr
&
fieldInfo
);
20
virtual
~DocInverterPerField
();
21
22
LUCENE_CLASS
(
DocInverterPerField
);
23
24
protected
:
25
DocInverterPerThreadWeakPtr
_perThread
;
26
FieldInfoPtr
fieldInfo
;
27
28
public
:
29
InvertedDocConsumerPerFieldPtr
consumer
;
30
InvertedDocEndConsumerPerFieldPtr
endConsumer
;
31
DocStatePtr
docState
;
32
FieldInvertStatePtr
fieldState
;
33
34
public
:
35
virtual
void
initialize
();
36
virtual
void
abort
();
37
39
virtual
void
processFields
(
Collection<FieldablePtr>
fields, int32_t count);
40
};
41
42
}
43
44
#endif
clucene.sourceforge.net