[Koha-bugs] [Bug 22639] Elasticsearc ability export/import mappings and facets settings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 4 11:11:33 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22639

--- Comment #1 from Ere Maijala <ere.maijala at helsinki.fi> ---
Import is sort of there already. You can define custom files in koha-conf.xml
with the following settings:

<elasticsearch_index_config>
<elasticsearch_field_config>
<elasticsearch_index_mappings>

Whenever you reset the mappings in Administration,
elasticsearch_index_mappings, if specified, is used to locate the default
mappings. When you drop and recreate the index, elasticsearch_index_config and
elasticsearch_field_config are used to create the new index.

Actually, the only thing missing is export of current mappings. I believe it
wouldn't be needed regularly if you decided to use a custom mappings.yaml to
define the settings.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list