summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-12-16 23:23:24 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-12-16 23:23:24 +0000
commit2847a371f6f38fc61d1c2b05d7dd741041792a88 (patch)
treeee79c384c01bdc454c9c9b60ed675df53c3531df /searchcore
parentb36fdededf2cb62c5be8814f4d6bf4038dc86dfc (diff)
reduce number of files included and some minor cleanup.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp1
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/document_scorer.h6
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp1
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>