summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/blueprintbuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/blueprintbuilder.cpp b/searchcore/src/vespa/searchcore/proton/matching/blueprintbuilder.cpp
index fbeabd89e55..cbdf5890094 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/blueprintbuilder.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/blueprintbuilder.cpp
@@ -76,7 +76,7 @@ private:
}
void buildWeakAnd(ProtonWeakAnd &n) {
- WeakAndBlueprint *wand = new WeakAndBlueprint(n.getMinHits());
+ WeakAndBlueprint *wand = new WeakAndBlueprint(n.getTargetNumHits());
Blueprint::UP result(wand);
for (size_t i = 0; i < n.getChildren().size(); ++i) {
search::query::Node &node = *n.getChildren()[i];