diff --git a/meilisearch-http/src/helpers/meilisearch.rs b/meilisearch-http/src/helpers/meilisearch.rs index ccd6a1977..3ef83ba1e 100644 --- a/meilisearch-http/src/helpers/meilisearch.rs +++ b/meilisearch-http/src/helpers/meilisearch.rs @@ -333,6 +333,7 @@ pub struct SearchResult { pub exhaustive_nb_hits: bool, pub processing_time_ms: usize, pub query: String, + #[serde(skip_serializing_if = "Option::is_none")] pub facets: Option>>, }