summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_phase_limiter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_phase_limiter.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_phase_limiter.cpp
index 784ce649c5f..98c5daa1415 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/match_phase_limiter.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/match_phase_limiter.cpp
@@ -102,9 +102,8 @@ do_limit(AttributeLimiter &limiter_factory, SearchIterator::UP search, double ma
return search;
}
-// When hitrate is below 1% limiting the query is often far more expensive than not.
-// TODO This limit should probably be a lot higher.
-constexpr double MIN_HIT_RATE_LIMIT = 0.01;
+// When hitrate is below 0.2% limiting the query is often far more expensive than not.
+constexpr double MIN_HIT_RATE_LIMIT = 0.002;
} // namespace proton::matching::<unnamed>