mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
write the dump v2 import
This commit is contained in:
parent
43496b97bd
commit
7e18f92635
35 changed files with 8400 additions and 11 deletions
|
@ -32,7 +32,6 @@ use serde::{Deserialize, Serialize};
|
|||
use tempfile::TempDir;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
|
||||
pub mod errors;
|
||||
pub mod meta;
|
||||
pub mod settings;
|
||||
|
@ -95,9 +94,7 @@ impl V3Reader {
|
|||
|
||||
Ok(V3Reader {
|
||||
metadata,
|
||||
tasks: BufReader::new(
|
||||
File::open(dump.path().join("updates").join("data.jsonl")).unwrap(),
|
||||
),
|
||||
tasks: BufReader::new(File::open(dump.path().join("updates").join("data.jsonl"))?),
|
||||
index_uuid,
|
||||
dump,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue