feat: Support spaces between field name and value

This commit is contained in:
Darkheir
2025-07-22 14:16:54 +02:00
parent 811c68cdb2
commit d4b090124c
2 changed files with 14 additions and 1 deletions

View File

@@ -1790,6 +1790,15 @@ mod test {
}
}
#[test]
fn test_space_before_value() {
test_parse_query_to_logical_ast_helper(
"title: a",
r#"Term(field=0, type=Str, "a")"#,
false,
);
}
#[test]
fn test_escaped_field() {
let mut schema_builder = Schema::builder();