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