Updated DateTime to hold timestamp in microseconds, while making date field precision configurable (#1396)

This commit is contained in:
Evance Soumaoro
2022-07-12 01:04:28 +00:00
committed by GitHub
parent 2406d9278b
commit a4be239d38
25 changed files with 625 additions and 100 deletions

View File

@@ -575,7 +575,7 @@ mod test {
for special_char in SPECIAL_CHARS.iter() {
let query = &format!("\\{special_char}my\\{special_char}field:a");
assert_eq!(
super::field_name().parse(&query),
super::field_name().parse(query),
Ok((format!("{special_char}my{special_char}field"), "a"))
);
}