[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating mappings ([% m.message | html %]).
[% CASE 'error_on_delete' %]
An error occurred when deleting the existing mappings. Nothing has been changed!
(search field [% m.values.field_name | html %] with mapping [% m.values.marc_field | html %].)
[% CASE 'success_on_update' %]
Mappings updated successfully.
[% CASE 'success_on_reset' %]
Mappings have been reset successfully.
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
Search engine configuration
Warning: Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
[% IF errors %]
Changes have not been applied. Please check the following values:
[% FOREACH e IN errors %]
-
[% IF ( e.type == "malformed_mapping" ) %]
The value "[% e.value | html %]" is not supported for mappings
[% ELSIF ( e.type == "no_mapping" ) %]
There is no mapping for the index [% e.value | html %]
[% END %]
[% END %]
[% END %]
[% IF reset_confirm %]
The current mappings you see on the screen will be erased and replaced by the mappings in the mappings.yaml file.
[% END %]