aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/diskindex/fusion_output_index.cpp
blob: 3c75aa16b93f1c87e51dbb4155a00b5e8c567574 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "fusion_output_index.h"
#include "fusion_input_index.h"

namespace search::diskindex {

FusionOutputIndex::FusionOutputIndex(const index::Schema& schema, const vespalib::string& path, const std::vector<FusionInputIndex>& old_indexes, uint32_t doc_id_limit, const TuneFileIndexing& tune_file_indexing, const common::FileHeaderContext& file_header_context)
    : _schema(schema),
      _path(path),
      _old_indexes(std::move(old_indexes)),
      _doc_id_limit(doc_id_limit),
      _dynamic_k_pos_index_format(false),
      _force_small_merge_chunk(false),
      _tune_file_indexing(tune_file_indexing),
      _file_header_context(file_header_context)
{
}

FusionOutputIndex::~FusionOutputIndex() = default;

}