[% USE raw %] [% USE Asset %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Search engine configuration [% INCLUDE 'doc-head-close.inc' %] [% Asset.js("lib/jquery/plugins/jquery.tablednd.js") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %]
[% 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.

Weight: define weight as a positive number. Higher numbers indicate increased relevancy. Note that fields weighting works only for simple search.

  1. only search fields mapped with biblios can be weighted
  2. search will boost/increase weighted field(s) relevancy
[% 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 %]
[% FOREACH search_field IN all_search_fields %] [% END %]
Name Label Type Weight
[% IF search_field.mapped_biblios %] [% ELSE %] [% END %]
[% FOREACH index IN indexes %]
[% FOREACH mapping IN index.mappings %] [% END %]
Search field Sortable Facetable Suggestible Mapping
[% mapping.search_field_label | html %] Delete
Add
[% END %]

[% INCLUDE 'intranet-bottom.inc' %]