remove accept new fields / add indexed *

This commit is contained in:
mpostma
2020-07-10 11:36:34 +02:00
parent 7f5fb50307
commit 51b7cb2722
4 changed files with 111 additions and 149 deletions

View File

@ -68,16 +68,6 @@ pub fn apply_settings_update(
UpdateState::Nothing => (),
}
match settings.accept_new_fields {
UpdateState::Update(v) => {
schema.set_accept_new_fields(v);
},
UpdateState::Clear => {
schema.set_accept_new_fields(true);
},
UpdateState::Nothing => (),
}
match settings.searchable_attributes.clone() {
UpdateState::Update(v) => {
if v.len() == 1 && v[0] == "*" {