aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2021-10-19 18:29:53 +0200
committerGitHub <noreply@github.com>2021-10-19 18:29:53 +0200
commit8964cbed0c69e539235eb482651e6f84efd22898 (patch)
tree0652f770ca7a165035aaee67853c8456fe0cd71a /searchcore/src/vespa/searchcore/proton/matching/querynodes.h
parente722ea4cb24548558a5a0b50ae483cce0bd3f31c (diff)
parent5bac27daa62f5b9136695a319a7ff5a7b8bcb602 (diff)
Merge pull request #19622 from vespa-engine/arnej/add-true-and-false-itemsv7.486.17
add ITEM_TRUE and ITEM_FALSE query nodes
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/matching/querynodes.h')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/querynodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/querynodes.h b/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
index 2ebd52d7fa7..e7817dcecd2 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
+++ b/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
@@ -114,7 +114,8 @@ typedef search::query::SimpleOr ProtonOr;
typedef search::query::SimpleRank ProtonRank;
typedef search::query::SimpleWeakAnd ProtonWeakAnd;
typedef search::query::SimpleSameElement ProtonSameElement;
-
+typedef search::query::SimpleTrue ProtonTrue;
+typedef search::query::SimpleFalse ProtonFalse;
struct ProtonEquiv final : public ProtonTermBase<search::query::Equiv> {
search::fef::MatchDataLayout children_mdl;
@@ -161,6 +162,8 @@ struct ProtonNodeTypes {
typedef ProtonPredicateQuery PredicateQuery;
typedef ProtonRegExpTerm RegExpTerm;
typedef ProtonNearestNeighborTerm NearestNeighborTerm;
+ typedef ProtonTrue TrueQueryNode;
+ typedef ProtonFalse FalseQueryNode;
};
}