// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "i_query_term_filter_factory.h" #include #include #include namespace search::index { class Schema; } namespace search::docsummary { /* * Class for creating an instance of IQueryTermFilter. */ class QueryTermFilterFactory : public IQueryTermFilterFactory { vespalib::hash_map> _view_map; public: QueryTermFilterFactory(const search::index::Schema& schema); ~QueryTermFilterFactory() override; std::shared_ptr make(vespalib::stringref input_field) const override; }; }