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

clucene.sourceforge.net