You are here

function search_api_solr_update_8405 in Search API Solr 4.x

Make fallback field type cardinality configurable.

File

./search_api_solr.install, line 1986
Install, update and uninstall functions for the Search API Solr module.

Code

function search_api_solr_update_8405() {
  foreach (search_api_solr_update_helper_get_backend_configs() as $server_name => $backend_config) {

    // BC: the hardcoded fallback was 'multiple'.
    $backend_config['fallback_multiple'] = TRUE;
    search_api_solr_update_helper_save_backend_config($server_name, $backend_config);
  }
}