summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2022-10-31 11:22:40 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2022-10-31 11:22:40 +0000
commit852967e6ee61e8930e37f4df2c47b7375a29553c (patch)
treebaabe091d6fe04e651487dd1dbd5214236bc1171 /searchcore
parent42d67fa4e4fd247296b1e99bcfe44e1fdcb50834 (diff)
explicit default filter
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/tests/proton/matching/match_phase_limiter/match_phase_limiter_test.cpp3
1 files changed, 3 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 b1275681dc1..dd2396e5f34 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
@@ -82,6 +82,9 @@ struct MockBlueprint : SimpleLeafBlueprint {
}
return std::make_unique<MockSearch>(spec, term, strict, tfmda, postings_fetched);
}
+ SearchIteratorUP createFilterSearch(bool strict, FilterConstraint constraint) const override {
+ return create_default_filter(strict, constraint);
+ }
void fetchPostings(const search::queryeval::ExecuteInfo &execInfo) override {
postings_strict = execInfo;
postings_fetched = true;