mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Introduce the Settings update operation
This commit is contained in:
parent
0c612f08c7
commit
995d72b8c1
4 changed files with 142 additions and 3 deletions
|
@ -160,6 +160,7 @@ enum UpdateStatus<M, P, N> {
|
|||
enum UpdateMeta {
|
||||
DocumentsAddition { method: String, format: String },
|
||||
ClearDocuments,
|
||||
Settings,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
@ -268,6 +269,9 @@ pub fn run(opt: Opt) -> anyhow::Result<()> {
|
|||
Ok(_count) => wtxn.commit().map_err(Into::into),
|
||||
Err(e) => Err(e.into())
|
||||
}
|
||||
},
|
||||
UpdateMeta::Settings => {
|
||||
todo!()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue