summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-10-19 11:36:26 +0000
committerArne H Juul <arnej@yahooinc.com>2021-10-19 11:36:26 +0000
commitfffd70f34626517e54bcf8b24a29f584b0cd17fb (patch)
treed353403feb317d916f8149a237f9523ac65cbe82 /searchlib
parenta7f289541ff64edfeea11d4db4310c5245f1f823 (diff)
handle new items
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h b/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h
index f8254186900..5a6f315205e 100644
--- a/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h
+++ b/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h
@@ -153,6 +153,10 @@ private:
builder.add_nearest_neighbor_term(query_tensor_name, field_name, id, weight,
target_num_hits, allow_approximate, explore_additional_hits,
distance_threshold);
+ } else if (type == ParseItem::ITEM_TRUE) {
+ builder.add_true_node();
+ } else if (type == ParseItem::ITEM_FALSE) {
+ builder.add_false_node();
} else {
vespalib::stringref term = queryStack.getTerm();
vespalib::stringref view = queryStack.getIndexName();