mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08: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,
|
documents_count,
|
||||||
allow_index_creation,
|
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, .. } => {
|
KindWithContent::DocumentDeletion { documents_ids, .. } => {
|
||||||
KindDump::DocumentDeletion { documents_ids }
|
KindDump::DocumentDeletion { documents_ids }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user