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
include
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
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
clucene.sourceforge.net