[% SWITCH m.code %]
[% CASE 'error_on_update' %]
[% tx("An error occurred when updating mappings: {message}.", { message = m.message }) | html %]
[% CASE 'error_on_delete' %]
[% t("An error occurred when deleting the existing mappings. Nothing has been changed!") | $raw %]
[% tx("(search field {field_name} with mapping {marc_field}.)", { field_name = m.values.field_name, marc_field = m.values.marc_field }) | html %]
[% CASE 'invalid_field_weight' %]
[% tx("Invalid field weight '{weight}', must be a positive decimal number.", { weight = m.weight }) | html %]
[% CASE 'missing_mandatory_fields' %]
[% t("You attempted to delete all mappings for a required index, you must leave at least one mapping") | $raw %]
[% CASE 'error_on_update_es_mappings' %]
[% tx("An error occurred when updating Elasticsearch index mappings: {message}.", { message = m.message }) | html %]
[% CASE 'reindex_required' %]
[% tx("Index '{index}' needs to be reindexed.", { index = m.index }) | html %]
[% CASE 'recreate_required' %]
[% tx("Index '{index}' needs to be recreated.", { index = m.index }) | html %]
[% CASE 'success_on_update' %]
[% t("Mappings updated successfully.") | $raw %]
[% CASE 'success_on_reset' %]
[% t("Mappings have been reset successfully.") | $raw %]
[% CASE 'elasticsearch_disabled' %]
[% t("Elasticsearch is currently disabled.") | $raw %]
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
Search engine configuration (Elasticsearch)
[% IF errors %]
Changes have not been applied. Please check the following values:
[% END %]
[% IF reset_confirm %]
-
[% 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 %]
The current mappings you see on the screen will be erased and replaced by the mappings in the mappings.yaml file.
Warning: Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
Weight: define weight as a positive number. Higher numbers indicate increased relevancy. Note that fields weighting works only for simple search.
- Only search fields mapped with biblios can be weighted
- Search will boost/increase weighted field(s) relevancy