Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
LogDocMergePolicy.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 LOGDOCMERGEPOLICY_H
8
#define LOGDOCMERGEPOLICY_H
9
10
#include "
LogMergePolicy.h
"
11
12
namespace
Lucene {
13
16
class
LPPAPI
LogDocMergePolicy
:
public
LogMergePolicy
{
17
public
:
18
LogDocMergePolicy
(
const
IndexWriterPtr
& writer);
19
virtual
~
LogDocMergePolicy
();
20
21
LUCENE_CLASS
(
LogDocMergePolicy
);
22
23
public
:
25
static
const
int32_t DEFAULT_MIN_MERGE_DOCS;
26
27
protected
:
28
virtual
int64_t size(
const
SegmentInfoPtr
& info);
29
30
public
:
36
void
setMinMergeDocs(int32_t minMergeDocs);
37
39
int32_t getMinMergeDocs();
40
};
41
42
}
43
44
#endif
clucene.sourceforge.net