mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
chore: Rework the data module structures
being able to be constructed from SharedData
This commit is contained in:
parent
c022fa3fca
commit
64d53ee1bd
15 changed files with 292 additions and 262 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue