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


InvertedDocConsumerPerField.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 INVERTEDDOCCONSUMERPERFIELD_H
8 #define INVERTEDDOCCONSUMERPERFIELD_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
15 public:
17 
19 
20 public:
23  virtual bool start(Collection<FieldablePtr> fields, int32_t count) = 0;
24 
26  virtual void start(const FieldablePtr& field) = 0;
27 
29  virtual void add() = 0;
30 
32  virtual void finish() = 0;
33 
35  virtual void abort() = 0;
36 };
37 
38 }
39 
40 #endif
Lucene::InvertedDocConsumerPerField
Definition: InvertedDocConsumerPerField.h:14
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::Collection< FieldablePtr >
Lucene::InvertedDocConsumerPerField::start
virtual bool start(Collection< FieldablePtr > fields, int32_t count)=0
Called once per field, and is given all Fieldable occurrences for this field in the document....
Lucene::InvertedDocConsumerPerField::finish
virtual void finish()=0
Called once per field per document, after all Fieldable occurrences are inverted.
Lucene::InvertedDocConsumerPerField::~InvertedDocConsumerPerField
virtual ~InvertedDocConsumerPerField()
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::InvertedDocConsumerPerField::abort
virtual void abort()=0
Called on hitting an aborting exception.
Lucene::FieldablePtr
boost::shared_ptr< Fieldable > FieldablePtr
Definition: LuceneTypes.h:76
Lucene::InvertedDocConsumerPerField::add
virtual void add()=0
Called once per inverted token.
LuceneObject.h

clucene.sourceforge.net