diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-11-16 20:05:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-11-16 21:16:37 +0000 |
commit | 38c682f3a630bb5274027bb8086e1bff27f7725a (patch) | |
tree | 756d056dd7e808c0588dfa42611e7d20058c2c6e /searchcore/src/tests/proton | |
parent | 739d3d94bdc50d3a3abb4bc9a0355331acb1917e (diff) |
If hit_rate is below 1% drop match phase limiting. It has too high fixed cost and will liklely make things worse.
Diffstat (limited to 'searchcore/src/tests/proton')
-rw-r--r-- | searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp b/searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp index 21c572995d3..b26ed1d4765 100644 --- a/searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp +++ b/searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp @@ -352,6 +352,7 @@ TEST("require that the match phase limiter is able to pre-limit the query") { " hit_rate: 0.1," " num_docs: 100000," " max_filter_docs: 100000," + " upper_limited_corpus_size: 100000," " wanted_docs: 5000," " action: 'Will limit with prefix filter'," " max_group_size: 5000," |