mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-19 09:16:45 +00:00
feat: PR review suggestion
Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
This commit is contained in:
parent
64a847bc1f
commit
6ccfb5b083
2 changed files with 2 additions and 2 deletions
|
|
@ -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})"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2113,6 +2113,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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue