add support for exists query syntax in query parser (#2170)

* add support for exists query syntax in query parser

* rustfmt

* make Exists require a field
This commit is contained in:
trinity-1686a
2023-09-19 11:10:39 +02:00
committed by GitHub
parent e125f3b041
commit 0241a05b90
3 changed files with 157 additions and 94 deletions

View File

@@ -847,6 +847,12 @@ impl QueryParser {
}));
(Some(logical_ast), errors)
}
UserInputLeaf::Exists { .. } => (
None,
vec![QueryParserError::UnsupportedQuery(
"Range query need to target a specific field.".to_string(),
)],
),
}
}
}