function search_api_solr_update_8007 in Search API Solr 8
Same name and namespace in other branches
- 8.3 search_api_solr.install \search_api_solr_update_8007()
- 8.2 search_api_solr.install \search_api_solr_update_8007()
- 4.x search_api_solr.install \search_api_solr_update_8007()
Remove old autocomplete settings in existing configs.
File
- ./
search_api_solr.install, line 250
Code
function search_api_solr_update_8007() {
foreach (search_api_solr_update_helper_get_backend_configs() as $server_name => $backend_config) {
unset($backend_config['autocorrect_spell']);
unset($backend_config['autocorrect_suggest_words']);
search_api_solr_update_helper_save_backend_config($server_name, $backend_config);
}
}