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

#include "multistringpostattribute.hpp"

#include <vespa/log/log.h>
LOG_SETUP(".searchlib.attribute.multi_string_post_attribute");

namespace search {

IEnumStore::Index
StringEnumIndexMapper::map(IEnumStore::Index original) const
{
    return _dictionary.remap_index(original);
}

template class MultiValueStringPostingAttributeT<EnumAttribute<StringAttribute>, vespalib::datastore::AtomicEntryRef>;
template class MultiValueStringPostingAttributeT<EnumAttribute<StringAttribute>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>;

} // namespace search