Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
FormatPostingsFieldsConsumer.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 FORMATPOSTINGSFIELDSCONSUMER_H
8
#define FORMATPOSTINGSFIELDSCONSUMER_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene
{
13
16
class
FormatPostingsFieldsConsumer
:
public
LuceneObject
{
17
public
:
18
virtual
~FormatPostingsFieldsConsumer
();
19
20
LUCENE_CLASS
(
FormatPostingsFieldsConsumer
);
21
22
public
:
24
virtual
FormatPostingsTermsConsumerPtr
addField
(
const
FieldInfoPtr
& field) = 0;
25
27
virtual
void
finish
() = 0;
28
};
29
30
}
31
32
#endif
LuceneObject.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition
LuceneObject.h:24
Lucene::FormatPostingsFieldsConsumer
Abstract API that consumes terms, doc, freq, prox and payloads postings. Concrete implementations of ...
Definition
FormatPostingsFieldsConsumer.h:16
Lucene::FormatPostingsFieldsConsumer::finish
virtual void finish()=0
Called when we are done adding everything.
Lucene::FormatPostingsFieldsConsumer::~FormatPostingsFieldsConsumer
virtual ~FormatPostingsFieldsConsumer()
Lucene::FormatPostingsFieldsConsumer::addField
virtual FormatPostingsTermsConsumerPtr addField(const FieldInfoPtr &field)=0
Add a new field.
Lucene::LuceneObject::LuceneObject
LuceneObject()
Lucene
Definition
AbstractAllTermDocs.h:12
Lucene::FormatPostingsTermsConsumerPtr
boost::shared_ptr< FormatPostingsTermsConsumer > FormatPostingsTermsConsumerPtr
Definition
LuceneTypes.h:145
Lucene::FieldInfoPtr
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition
LuceneTypes.h:126
clucene.sourceforge.net