Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
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
LuceneObject.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition
LuceneObject.h:24
Lucene::FormatPostingsTermsConsumer
Definition
FormatPostingsTermsConsumer.h:14
Lucene::FormatPostingsTermsConsumer::~FormatPostingsTermsConsumer
virtual ~FormatPostingsTermsConsumer()
Lucene::FormatPostingsTermsConsumer::termBuffer
CharArray termBuffer
Definition
FormatPostingsTermsConsumer.h:21
Lucene::FormatPostingsTermsConsumer::addTerm
virtual FormatPostingsDocsConsumerPtr addTerm(const String &text)
Lucene::FormatPostingsTermsConsumer::finish
virtual void finish()=0
Called when we are done adding terms to this field.
Lucene::FormatPostingsTermsConsumer::addTerm
virtual FormatPostingsDocsConsumerPtr addTerm(CharArray text, int32_t start)=0
Adds a new term in this field.
Lucene::LuceneObject::LuceneObject
LuceneObject()
Lucene
Definition
AbstractAllTermDocs.h:12
Lucene::FormatPostingsDocsConsumerPtr
boost::shared_ptr< FormatPostingsDocsConsumer > FormatPostingsDocsConsumerPtr
Definition
LuceneTypes.h:139
clucene.sourceforge.net