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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FormatPostingsFieldsConsumer.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 FORMATPOSTINGSFIELDSCONSUMER_H
8 #define FORMATPOSTINGSFIELDSCONSUMER_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
17 public:
19 
21 
22 public:
24  virtual FormatPostingsTermsConsumerPtr addField(const FieldInfoPtr& field) = 0;
25 
27  virtual void finish() = 0;
28 };
29 
30 }
31 
32 #endif
Abstract API that consumes terms, doc, freq, prox and payloads postings. Concrete implementations of ...
Definition: FormatPostingsFieldsConsumer.h:16
virtual FormatPostingsTermsConsumerPtr addField(const FieldInfoPtr &field)=0
Add a new field.
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
Base class for all Lucene classes.
Definition: LuceneObject.h:31
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
virtual void finish()=0
Called when we are done adding everything.
boost::shared_ptr< FormatPostingsTermsConsumer > FormatPostingsTermsConsumerPtr
Definition: LuceneTypes.h:145

clucene.sourceforge.net