diff --git a/meilisearch-lib/src/index/search.rs b/meilisearch-lib/src/index/search.rs index a0ea26127..25771a5d4 100644 --- a/meilisearch-lib/src/index/search.rs +++ b/meilisearch-lib/src/index/search.rs @@ -555,6 +555,10 @@ impl<'a, A: AsRef<[u8]>> Formatter<'a, A> { }) .collect(), ), + Value::Number(number) => { + let number_string_value = self.format_string(number.to_string(), matcher, format_options); + Value::String(number_string_value) + } value => value, } }