blob: 48d1e8b640641513d4a49de80bd09aa74b7fd958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "multi_string_enum_search_context.h"
#include "multi_enum_search_context.hpp"
#include <vespa/searchlib/query/query_term_simple.h>
namespace search::attribute {
template <typename M>
MultiStringEnumSearchContext<M>::MultiStringEnumSearchContext(std::unique_ptr<QueryTermSimple> qTerm, bool cased,
vespalib::FuzzyMatchingAlgorithm fuzzy_matching_algorithm,
const AttributeVector& toBeSearched,
MultiValueMappingReadView<M> mv_mapping_read_view,
const EnumStoreT<const char*>& enum_store)
: MultiEnumSearchContext<const char*, StringSearchContext, M>(StringMatcher(std::move(qTerm), cased, fuzzy_matching_algorithm), toBeSearched, mv_mapping_read_view, enum_store)
{
}
}
|