diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-16 23:23:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-16 23:23:24 +0000 |
commit | 2847a371f6f38fc61d1c2b05d7dd741041792a88 (patch) | |
tree | ee79c384c01bdc454c9c9b60ed675df53c3531df /searchcore | |
parent | b36fdededf2cb62c5be8814f4d6bf4038dc86dfc (diff) |
reduce number of files included and some minor cleanup.
Diffstat (limited to 'searchcore')
3 files changed, 7 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp index e955b24cc7f..3e6bba7fd07 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp @@ -1,6 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "document_scorer.h" +#include <vespa/searchlib/fef/rank_program.h> #include <algorithm> #include <cassert> diff --git a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.h b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.h index b86e285adcb..0a2b08920cc 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.h +++ b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.h @@ -3,9 +3,13 @@ #pragma once #include "i_match_loop_communicator.h" -#include <vespa/searchlib/fef/rank_program.h> +#include <vespa/searchlib/fef/featureexecutor.h> #include <vespa/searchlib/queryeval/searchiterator.h> +namespace search::fef { + class RankProgram; +} + namespace proton::matching { /** diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp index b165a838c39..e340427c83a 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp @@ -8,6 +8,7 @@ #include <vespa/searchlib/engine/trace.h> #include <vespa/searchlib/attribute/attribute_operation.h> #include <vespa/searchlib/common/bitvector.h> +#include <vespa/searchlib/fef/rank_program.h> #include <vespa/searchlib/queryeval/multibitvectoriterator.h> #include <vespa/searchlib/queryeval/andnotsearch.h> #include <vespa/vespalib/data/slime/cursor.h> |