mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
fix all the import and comment most of the dump v6
This commit is contained in:
parent
d8bbe18d71
commit
8a32b766c6
5 changed files with 36 additions and 22 deletions
|
@ -83,10 +83,10 @@ impl CompatV5ToV6 {
|
|||
} => v6::Kind::DocumentImport {
|
||||
method: match merge_strategy {
|
||||
v5::tasks::IndexDocumentsMethod::ReplaceDocuments => {
|
||||
v6::index::milli::update::IndexDocumentsMethod::ReplaceDocuments
|
||||
v6::milli::update::IndexDocumentsMethod::ReplaceDocuments
|
||||
}
|
||||
v5::tasks::IndexDocumentsMethod::UpdateDocuments => {
|
||||
v6::index::milli::update::IndexDocumentsMethod::UpdateDocuments
|
||||
v6::milli::update::IndexDocumentsMethod::UpdateDocuments
|
||||
}
|
||||
},
|
||||
allow_index_creation: allow_index_creation.clone(),
|
||||
|
@ -102,7 +102,9 @@ impl CompatV5ToV6 {
|
|||
},
|
||||
v5::tasks::TaskContent::Dump { .. } => v6::Kind::DumpExport,
|
||||
},
|
||||
details: task_view.details.map(|details| match details {
|
||||
details: todo!(),
|
||||
/*
|
||||
task_view.details.map(|details| match details {
|
||||
v5::Details::DocumentAddition {
|
||||
received_documents,
|
||||
indexed_documents,
|
||||
|
@ -128,6 +130,7 @@ impl CompatV5ToV6 {
|
|||
}
|
||||
v5::Details::Dump { dump_uid } => v6::Details::Dump { dump_uid },
|
||||
}),
|
||||
*/
|
||||
error: task_view.error.map(|e| e.into()),
|
||||
duration: task_view.duration,
|
||||
enqueued_at: task_view.enqueued_at,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue