aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/attribute/multi_numeric_enum_search_context.cpp
blob: 79d38313d0ff300bcf29556f1609be4ea34de54c (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
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "multi_numeric_enum_search_context.hpp"
#include <vespa/searchcommon/attribute/multivalue.h>

using ValueRef = vespalib::datastore::AtomicEntryRef;
using WeightedValueRef = search::multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>;

namespace search::attribute {

template class MultiNumericEnumSearchContext<int8_t, ValueRef>;
template class MultiNumericEnumSearchContext<int16_t, ValueRef>;
template class MultiNumericEnumSearchContext<int32_t, ValueRef>;
template class MultiNumericEnumSearchContext<int64_t, ValueRef>;
template class MultiNumericEnumSearchContext<float, ValueRef>;
template class MultiNumericEnumSearchContext<double, ValueRef>;

template class MultiNumericEnumSearchContext<int8_t, WeightedValueRef>;
template class MultiNumericEnumSearchContext<int16_t, WeightedValueRef>;
template class MultiNumericEnumSearchContext<int32_t, WeightedValueRef>;
template class MultiNumericEnumSearchContext<int64_t, WeightedValueRef>;
template class MultiNumericEnumSearchContext<float, WeightedValueRef>;
template class MultiNumericEnumSearchContext<double, WeightedValueRef>;

}