mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
restore document deletion routes
This commit is contained in:
parent
c32012c44a
commit
b9d189bf12
5 changed files with 68 additions and 75 deletions
|
@ -72,10 +72,10 @@ impl From<&UpdateStatus> for UpdateType {
|
|||
RegisterUpdate::Settings(settings) => UpdateType::Settings {
|
||||
settings: settings.clone(),
|
||||
},
|
||||
//UpdateMeta::ClearDocuments => UpdateType::ClearAll,
|
||||
//UpdateMeta::DeleteDocuments { ids } => UpdateType::DocumentsDeletion {
|
||||
//number: Some(ids.len()),
|
||||
//},
|
||||
RegisterUpdate::ClearDocuments => UpdateType::ClearAll,
|
||||
RegisterUpdate::DeleteDocuments(ids) => UpdateType::DocumentsDeletion {
|
||||
number: Some(ids.len()),
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue