mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-08-18 03:58:21 +00:00
feat: PR review suggestion
Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
This commit is contained in:
@@ -162,7 +162,7 @@ impl fmt::Debug for LogicalLiteral {
|
||||
ref pattern,
|
||||
ref field,
|
||||
} => write!(formatter, "Regex({field:?}, {pattern:?})"),
|
||||
LogicalLiteral::Exists { ref field } => write!(formatter, "exists:{field}"),
|
||||
LogicalLiteral::Exists { ref field } => write!(formatter, "Exists({field})"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2123,6 +2123,6 @@ mod test {
|
||||
|
||||
#[test]
|
||||
pub fn test_exists() {
|
||||
test_parse_query_to_logical_ast_helper("title:*", "exists:title", false);
|
||||
test_parse_query_to_logical_ast_helper("title:*", "Exists(title)", false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user