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

SerialMergeScheduler.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 SERIALMERGESCHEDULER_H
8 #define SERIALMERGESCHEDULER_H
9
10 #include "MergeScheduler.h"
11
12 namespace Lucene {
13
15 class LPPAPI SerialMergeScheduler : public MergeScheduler {
16 public:
17 virtual ~SerialMergeScheduler();
18
19 LUCENE_CLASS(SerialMergeScheduler);
20
21 public:
24 virtual void merge(const IndexWriterPtr& writer);
25
27 virtual void close();
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
MergeScheduler.h
Lucene::SerialMergeScheduler
A MergeScheduler that simply does each merge sequentially, using the current thread.
Definition: SerialMergeScheduler.h:15
Lucene::IndexWriterPtr
boost::shared_ptr< IndexWriter > IndexWriterPtr
Definition: LuceneTypes.h:160

clucene.sourceforge.net