aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp')
-rw-r--r--searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp
index dbfe51926c9..45183696dfc 100644
--- a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp
+++ b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp
@@ -72,7 +72,7 @@ TEST("test AndNot Blueprint") {
EXPECT_EQUAL(true, a.getState().want_global_filter());
auto empty_global_filter = GlobalFilter::create();
EXPECT_FALSE(empty_global_filter->has_filter());
- a.set_global_filter(*empty_global_filter);
+ a.set_global_filter(*empty_global_filter, 1.0);
EXPECT_EQUAL(false, got_global_filter(a.getChild(0)));
EXPECT_EQUAL(true, got_global_filter(a.getChild(1)));
}
@@ -147,7 +147,7 @@ TEST("test And Blueprint") {
a.addChild(ap(MyLeafSpec(20).addField(1, 1).want_global_filter().create()));
EXPECT_EQUAL(true, a.getState().want_global_filter());
auto empty_global_filter = GlobalFilter::create();
- a.set_global_filter(*empty_global_filter);
+ a.set_global_filter(*empty_global_filter, 1.0);
EXPECT_EQUAL(false, got_global_filter(a.getChild(0)));
EXPECT_EQUAL(true, got_global_filter(a.getChild(1)));
}
@@ -227,7 +227,7 @@ TEST("test Or Blueprint") {
o.addChild(ap(MyLeafSpec(20).addField(1, 1).want_global_filter().create()));
EXPECT_EQUAL(true, o.getState().want_global_filter());
auto empty_global_filter = GlobalFilter::create();
- o.set_global_filter(*empty_global_filter);
+ o.set_global_filter(*empty_global_filter, 1.0);
EXPECT_EQUAL(false, got_global_filter(o.getChild(0)));
EXPECT_EQUAL(true, got_global_filter(o.getChild(o.childCnt() - 1)));
}
@@ -382,7 +382,7 @@ TEST("test Rank Blueprint") {
a.addChild(ap(MyLeafSpec(20).addField(1, 1).want_global_filter().create()));
EXPECT_EQUAL(true, a.getState().want_global_filter());
auto empty_global_filter = GlobalFilter::create();
- a.set_global_filter(*empty_global_filter);
+ a.set_global_filter(*empty_global_filter, 1.0);
EXPECT_EQUAL(false, got_global_filter(a.getChild(0)));
EXPECT_EQUAL(true, got_global_filter(a.getChild(1)));
}