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


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

clucene.sourceforge.net