diff --git a/meilisearch-http/src/index/mod.rs b/meilisearch-http/src/index/mod.rs
index c897fac3f..048ed56bb 100644
--- a/meilisearch-http/src/index/mod.rs
+++ b/meilisearch-http/src/index/mod.rs
@@ -9,6 +9,7 @@ use serde_json::{Map, Value};
use crate::helpers::EnvSizer;
pub use search::{SearchQuery, SearchResult, DEFAULT_SEARCH_LIMIT};
pub use updates::{Facets, Settings, Checked, Unchecked};
+use serde::{de::Deserializer, Deserialize};
mod search;
mod updates;
@@ -26,6 +27,22 @@ impl Deref for Index {
}
}
+pub fn deserialize_some<'de, T, D>(deserializer: D) -> Result