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


DocInverterPerField.h
Go to the documentation of this file.
1 // 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 
11 
12 namespace Lucene {
13 
18 public:
21 
23 
24 protected:
27 
28 public:
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
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: DocFieldConsumerPerField.h:14
Holds state for inverting all occurrences of a single field in the document. This class doesn't do an...
Definition: DocInverterPerField.h:17
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
FieldInfoPtr fieldInfo
Definition: DocInverterPerField.h:26
virtual void processFields(Collection< FieldablePtr > fields, int32_t count)
Processes all occurrences of a single field.
DocStatePtr docState
Definition: DocInverterPerField.h:31
FieldInvertStatePtr fieldState
Definition: DocInverterPerField.h:32
InvertedDocConsumerPerFieldPtr consumer
Definition: DocInverterPerField.h:29
DocInverterPerThreadWeakPtr _perThread
Definition: DocInverterPerField.h:22
InvertedDocEndConsumerPerFieldPtr endConsumer
Definition: DocInverterPerField.h:30
DocInverterPerField(const DocInverterPerThreadPtr &perThread, const FieldInfoPtr &fieldInfo)
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
boost::shared_ptr< FieldInvertState > FieldInvertStatePtr
Definition: LuceneTypes.h:128
boost::weak_ptr< DocInverterPerThread > DocInverterPerThreadWeakPtr
Definition: LuceneTypes.h:121
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
boost::shared_ptr< InvertedDocConsumerPerField > InvertedDocConsumerPerFieldPtr
Definition: LuceneTypes.h:164

clucene.sourceforge.net