mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
cargo fmt
This commit is contained in:
parent
f182afc50b
commit
dda08d60d2
14 changed files with 77 additions and 67 deletions
|
@ -84,7 +84,7 @@ pub fn apply_settings_update(
|
|||
must_reindex = true;
|
||||
},
|
||||
UpdateState::Clear => {
|
||||
schema.set_all_fields_indexed();
|
||||
schema.set_all_fields_as_indexed();
|
||||
must_reindex = true;
|
||||
},
|
||||
UpdateState::Nothing => (),
|
||||
|
@ -92,7 +92,7 @@ pub fn apply_settings_update(
|
|||
match settings.displayed_attributes.clone() {
|
||||
UpdateState::Update(v) => schema.update_displayed(v)?,
|
||||
UpdateState::Clear => {
|
||||
schema.set_all_fields_displayed();
|
||||
schema.set_all_fields_as_displayed();
|
||||
},
|
||||
UpdateState::Nothing => (),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue