summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
index b57346611f1..1111fd1a1b7 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/match_thread.cpp
@@ -332,6 +332,7 @@ MatchThread::findMatches(MatchTools &tools)
}
HitCollector hits(matchParams.numDocs, matchParams.arraySize);
trace->addEvent(4, "Start match and first phase rank");
+ if (tools.getDoom().soft_doom()) return 0;
match_loop_helper(tools, hits);
if (tools.has_second_phase_rank()) {
trace->addEvent(4, "Start second phase rerank");