aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/index/indexmaintainerconfig.cpp
blob: 695de7b84fff822a70853cf443af3a908563b3a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "indexmaintainerconfig.h"

using search::index::Schema;
using search::TuneFileAttributes;

namespace searchcorespi::index {

IndexMaintainerConfig::IndexMaintainerConfig(const vespalib::string &baseDir,
                                             const WarmupConfig & warmup,
                                             size_t maxFlushed,
                                             const Schema &schema,
                                             const search::SerialNum serialNum,
                                             const TuneFileAttributes &tuneFileAttributes)
    : _baseDir(baseDir),
      _warmup(warmup),
      _maxFlushed(maxFlushed),
      _schema(schema),
      _serialNum(serialNum),
      _tuneFileAttributes(tuneFileAttributes)
{
}

IndexMaintainerConfig::~IndexMaintainerConfig() { }

}