aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-05-12 12:11:13 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-05-12 12:11:13 +0000
commit9f6559f0104c6abb45852b82c0386e5702100c63 (patch)
tree03b446c2512f2126fa6f86be69bf5ef9a860a58c /searchcore/src/tests
parent1f84a75a3c5f4b3056d8b263c3bf053db0904709 (diff)
As a single field per blueprint is the common use case, make that optimal more optimal.
Diffstat (limited to 'searchcore/src/tests')
-rw-r--r--searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp2
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));
}