mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
delete-me: Simply support generating dump
This commit is contained in:
parent
862d49e4af
commit
b7b8f564c3
@ -166,7 +166,12 @@ impl From<KindWithContent> for KindDump {
|
||||
documents_count,
|
||||
allow_index_creation,
|
||||
},
|
||||
KindWithContent::DocumentEdition { .. } => todo!(),
|
||||
KindWithContent::DocumentEdition { .. } => KindDump::DocumentImport {
|
||||
primary_key: None,
|
||||
method: IndexDocumentsMethod::UpdateDocuments,
|
||||
documents_count: 0,
|
||||
allow_index_creation: false,
|
||||
},
|
||||
KindWithContent::DocumentDeletion { documents_ids, .. } => {
|
||||
KindDump::DocumentDeletion { documents_ids }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user