mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 00:01:00 +00:00
chore: Rework the data module structures
being able to be constructed from SharedData
This commit is contained in:
@ -59,10 +59,10 @@ fn index(schema: Schema, database_path: &Path, csv_data_path: &Path) -> Result<D
|
||||
}
|
||||
};
|
||||
|
||||
update.update_document(&document).unwrap();
|
||||
update.update_document(&document, &tokenizer_builder)?;
|
||||
}
|
||||
|
||||
let mut update = update.build()?;
|
||||
let update = update.build()?;
|
||||
database.ingest_update_file(update)?;
|
||||
|
||||
Ok(database)
|
||||
|
Reference in New Issue
Block a user