mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
handle the array of array form of filter in the dumps
This commit is contained in:
parent
fc8c1d118d
commit
0f0cd2d929
3 changed files with 3 additions and 9 deletions
|
@ -102,7 +102,7 @@ pub enum KindDump {
|
|||
},
|
||||
DocumentClear,
|
||||
DocumentDeletionByFilter {
|
||||
filter: String,
|
||||
filter: serde_json::Value,
|
||||
},
|
||||
Settings {
|
||||
settings: Box<meilisearch_types::settings::Settings<Unchecked>>,
|
||||
|
@ -170,7 +170,7 @@ impl From<KindWithContent> for KindDump {
|
|||
KindDump::DocumentDeletion { documents_ids }
|
||||
}
|
||||
KindWithContent::DocumentDeletionByFilter { filter_expr, .. } => {
|
||||
KindDump::DocumentDeletionByFilter { filter: filter_expr.to_string() }
|
||||
KindDump::DocumentDeletionByFilter { filter: filter_expr }
|
||||
}
|
||||
KindWithContent::DocumentClear { .. } => KindDump::DocumentClear,
|
||||
KindWithContent::SettingsUpdate {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue