Lines 383-390
sub reset_elasticsearch_mappings {
Link Here
|
383 |
} |
383 |
} |
384 |
|
384 |
|
385 |
my $cache = Koha::Caches->get_instance(); |
385 |
my $cache = Koha::Caches->get_instance(); |
386 |
$cache->clear_from_cache('elasticsearch_search_fields_staff_client'); |
386 |
$cache->clear_from_cache('elasticsearch_search_fields_staff_client_biblios'); |
387 |
$cache->clear_from_cache('elasticsearch_search_fields_opac'); |
387 |
$cache->clear_from_cache('elasticsearch_search_fields_opac_biblios'); |
|
|
388 |
$cache->clear_from_cache('elasticsearch_search_fields_staff_client_authorities'); |
389 |
$cache->clear_from_cache('elasticsearch_search_fields_opac_authorities'); |
388 |
|
390 |
|
389 |
# FIXME return the mappings? |
391 |
# FIXME return the mappings? |
390 |
} |
392 |
} |