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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

FormatPostingsTermsConsumer.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 FORMATPOSTINGSTERMSCONSUMER_H
8 #define FORMATPOSTINGSTERMSCONSUMER_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene {
13
14 class FormatPostingsTermsConsumer : public LuceneObject {
15 public:
16 virtual ~FormatPostingsTermsConsumer();
17
18 LUCENE_CLASS(FormatPostingsTermsConsumer);
19
20 public:
21 CharArray termBuffer;
22
23 public:
25 virtual FormatPostingsDocsConsumerPtr addTerm(CharArray text, int32_t start) = 0;
26 virtual FormatPostingsDocsConsumerPtr addTerm(const String& text);
27
29 virtual void finish() = 0;
30 };
31
32 }
33
34 #endif
Lucene::FormatPostingsTermsConsumer::~FormatPostingsTermsConsumer
virtual ~FormatPostingsTermsConsumer()
Lucene::FormatPostingsTermsConsumer::addTerm
virtual FormatPostingsDocsConsumerPtr addTerm(CharArray text, int32_t start)=0
Adds a new term in this field.
Lucene::FormatPostingsTermsConsumer
Definition: FormatPostingsTermsConsumer.h:14
Lucene::FormatPostingsTermsConsumer::termBuffer
CharArray termBuffer
Definition: FormatPostingsTermsConsumer.h:18
Lucene::FormatPostingsTermsConsumer::finish
virtual void finish()=0
Called when we are done adding terms to this field.
LuceneObject.h
Lucene::FormatPostingsDocsConsumerPtr
boost::shared_ptr< FormatPostingsDocsConsumer > FormatPostingsDocsConsumerPtr
Definition: LuceneTypes.h:139
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net