diff --git a/meilidb-data/src/database.rs b/meilidb-data/src/database.rs
index fea4d84d1..ef67227bd 100644
--- a/meilidb-data/src/database.rs
+++ b/meilidb-data/src/database.rs
@@ -19,6 +19,7 @@ use sled::IVec;
use crate::{Schema, SchemaAttr, RankedMap};
use crate::serde::Deserializer;
+use crate::indexer::Indexer;
#[derive(Debug)]
pub enum Error {
@@ -240,7 +241,7 @@ impl RawIndex {
id: DocumentId,
attr: SchemaAttr,
value: V,
- ) -> Result