summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-11-17 00:31:06 +0100
committerTor Egge <Tor.Egge@online.no>2023-11-17 00:31:06 +0100
commit8f0e03fb2a6b8db083db94b86c65d43584858303 (patch)
tree94a7ba588687dac8f950e6dabfdf9954f04e6c3e /searchcore
parent94bb7e345c4e89e26612f3203ffaa2181a2496de (diff)
Keep item type and features separate.
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];