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


MergeScheduler.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 MERGESCHEDULER_H
8 #define MERGESCHEDULER_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI MergeScheduler : public LuceneObject {
17 public:
18  virtual ~MergeScheduler();
19 
21 
22 public:
24  virtual void merge(const IndexWriterPtr& writer) = 0;
25 
27  virtual void close() = 0;
28 };
29 
30 }
31 
32 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::MergeScheduler
IndexWriter uses an instance implementing this interface to execute the merges selected by a MergePol...
Definition: MergeScheduler.h:16
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::IndexWriterPtr
boost::shared_ptr< IndexWriter > IndexWriterPtr
Definition: LuceneTypes.h:160
LuceneObject.h

clucene.sourceforge.net