diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-05-12 12:11:13 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-05-12 12:11:13 +0000 |
commit | 9f6559f0104c6abb45852b82c0386e5702100c63 (patch) | |
tree | 03b446c2512f2126fa6f86be69bf5ef9a860a58c /searchcore | |
parent | 1f84a75a3c5f4b3056d8b263c3bf053db0904709 (diff) |
As a single field per blueprint is the common use case, make that optimal more optimal.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp | 2 |
1 files changed, 1 insertions, 1 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 45ac0a8f924..2cb82fabc4c 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 @@ -71,7 +71,7 @@ struct MockBlueprint : SimpleLeafBlueprint { bool postings_fetched = false; search::queryeval::ExecuteInfo postings_strict = search::queryeval::ExecuteInfo::FALSE; MockBlueprint(const FieldSpec &spec_in, const vespalib::string &term_in) - : SimpleLeafBlueprint(FieldSpecBaseList().add(spec_in)), spec(spec_in), term(term_in) + : SimpleLeafBlueprint(spec_in), spec(spec_in), term(term_in) { setEstimate(HitEstimate(756, false)); } |