mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-11 15:38:55 +01:00
Update filter-parser/src/lib.rs
Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
parent
d55f0e2e53
commit
0d43ddbd85
@ -343,9 +343,7 @@ fn parse_error_reserved_keyword(input: Span) -> IResult<FilterCondition> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
primary = (WS* "(" WS* expression WS* ")" WS*) | geoRadius | condition | exists | not_exists | to
|
||||
*/
|
||||
/// primary = (WS* "(" WS* expression WS* ")" WS*) | geoRadius | condition | exists | not_exists | to
|
||||
fn parse_primary(input: Span, depth: usize) -> IResult<FilterCondition> {
|
||||
if depth > MAX_FILTER_DEPTH {
|
||||
return Err(nom::Err::Error(Error::new_from_kind(input, ErrorKind::DepthLimitReached)));
|
||||
|
Loading…
Reference in New Issue
Block a user