diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-04-18 13:04:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 13:04:17 +0200 |
commit | 2230b5937514d9563311b8b9e395672eaa6786a4 (patch) | |
tree | a377853817f241dae4eaf213fe785b7c70b3b6bd /searchlib/src/tests | |
parent | b03ee6523f55c6c8ea486da35259ecb95af1fbd3 (diff) | |
parent | 4bb8c283de1d9ea1e93b248b018dfd5ac1f6d86c (diff) |
Merge pull request #30956 from vespa-engine/havardpe/optimize-single-child-vespa-wand
optimize weak and with single child
Diffstat (limited to 'searchlib/src/tests')
-rw-r--r-- | searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp index 72dd2b5a4ad..bddc9f92111 100644 --- a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp +++ b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp @@ -869,7 +869,7 @@ TEST("AND_NOT AND AND_NOT collapsing into full source blender optimization") { TEST("test single child optimization") { InvalidSelector selector; //------------------------------------------------------------------------- - Blueprint::UP top = make::ANDNOT().add(make::AND().add(make::RANK().add(make::OR().add(make::SB(selector).source(2).add(make::RANK().leaf(42)))))); + Blueprint::UP top = make::ANDNOT().add(make::AND().add(make::RANK().add(make::OR().add(make::WEAKAND(100).add(make::SB(selector).source(2).add(make::RANK().leaf(42))))))); //------------------------------------------------------------------------- Blueprint::UP expect = make::SB(selector).source(2).leaf(42); //------------------------------------------------------------------------- |