@@ -, +, @@ --- admin/searchengine/elasticsearch/mappings.pl | 42 ++++++++++++++++++++ 1 file changed, 42 insertions(+) --- a/admin/searchengine/elasticsearch/mappings.pl +++ a/admin/searchengine/elasticsearch/mappings.pl @@ -203,6 +203,48 @@ while ( my $search_field = $search_fields->next ) { push @all_search_fields, $search_field_unblessed; } +push @messages, { + type => 'error', + code => 'error_on_update', + message => 'ERROR foo' +}; +push @messages, { + type => 'error', + code => 'error_on_delete', + values => { + field_name => 'foo', + marc_field => '999' + } +}; +push @messages, { + type => 'error', + code => 'invalid_field_weight', + weight => 'foo' +}; +push @messages, { + type => 'error', + code => 'error_on_update_es_mappings', + message => 'ERROR foo' +}; +push @messages, { + type => 'error', + code => 'reindex_required', + index => 'foo' +}; +push @messages, { + type => 'error', + code => 'recreate_required', + index => 'foo' +}; +push @messages, { + type => 'message', + code => 'success_on_update', +}; +push @messages, { + type => 'message', + code => 'success_on_reset', +}; + $template->param( indexes => \@indexes, all_search_fields => \@all_search_fields, --