summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/query.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/query.cpp b/searchcore/src/vespa/searchcore/proton/matching/query.cpp
index a5fbb588ea1..9217b985ba5 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/query.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/query.cpp
@@ -293,9 +293,12 @@ Query::handle_global_filter(Blueprint& blueprint, uint32_t docid_limit,
estimated_hit_ratio, global_filter_upper_limit));
}
global_filter = GlobalFilter::create(blueprint, docid_limit, thread_bundle);
+ if (!global_filter->is_active() && trace && trace->shouldTrace(5)) {
+ trace->addEvent(5, "Global filter matches everything");
+ }
} else {
if (trace && trace->shouldTrace(5)) {
- trace->addEvent(5, vespalib::make_string("Create match all global filter (estimated_hit_ratio (%f) > upper_limit (%f))",
+ trace->addEvent(5, vespalib::make_string("Create match everything global filter (estimated_hit_ratio (%f) > upper_limit (%f))",
estimated_hit_ratio, global_filter_upper_limit));
}
global_filter = GlobalFilter::create();