summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-09-27 15:19:10 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-09-27 15:19:10 +0000
commit9c1025e41998b637560d9a3af89c2d55afb6a6cc (patch)
tree26bc6a47c4e874526dd74c8adb354ab8492c31c4 /searchcore
parent22c0ed22e2db624475a62f5c3bba6559f7a06e5d (diff)
Must always run match_loop_helper
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
index 11d437b5996..454c8e52a47 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
@@ -362,11 +362,9 @@ MatchThread::findMatches(MatchTools &tools)
}
HitCollector hits(matchParams.numDocs, matchParams.arraySize);
trace->addEvent(4, "Start match and first phase rank");
- if ( !tools.getDoom().soft_doom()) {
- match_loop_helper(tools, hits);
- if (tools.has_second_phase_rank()) {
- secondPhase(tools, hits);
- }
+ match_loop_helper(tools, hits);
+ if (tools.has_second_phase_rank()) {
+ secondPhase(tools, hits);
}
trace->addEvent(4, "Create result set");
return hits.getResultSet(fallback_rank_value());