View | Details | Raw Unified | Return to bug 40722
Collapse All | Expand All

(-)a/misc/search_tools/rebuild_elasticsearch.pl (-1 / +3 lines)
Lines 169-174 pod2usage( -exitstatus => 0, -verbose => 2 ) if $man; Link Here
169
_sanity_check();
169
_sanity_check();
170
170
171
if ($reset) {
171
if ($reset) {
172
    my $mappings_yaml = C4::Context->config('elasticsearch_index_mappings');
173
    $mappings_yaml ||= C4::Context->config('intranetdir') . '/admin/searchengine/elasticsearch/mappings.yaml';
174
    _log( 1, "Resetting mappings from $mappings_yaml\n" );
172
    Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings;
175
    Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings;
173
    $delete = 1;
176
    $delete = 1;
174
}
177
}
175
- 

Return to bug 40722