// Copyright Vespa.ai. 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 "enumhintsearchcontext.h" #include namespace search::attribute { /* * MultiStringEnumHintSearchContext handles the creation of search iterators * for a query term on a multi value string enumerated attribute vector using * dictionary information to eliminate searches for nonexisting words. */ template class MultiStringEnumHintSearchContext : public MultiStringEnumSearchContext, public EnumHintSearchContext { public: MultiStringEnumHintSearchContext(std::unique_ptr qTerm, bool cased, vespalib::FuzzyMatchingAlgorithm fuzzy_matching_algorithm, const AttributeVector& toBeSearched, MultiValueMappingReadView mv_mapping_read_view, const EnumStoreT& enum_store, uint32_t doc_id_limit, uint64_t num_values); ~MultiStringEnumHintSearchContext() override; }; }