Koha-clms/installer/data/mysql
Ere Maijala 133df5e912 Bug 20073: Move Elasticsearch configs to yaml files and improve the default settings.
Improvements:
1) Index settings moved from code to etc/searchengine/elasticsearch/index_config.yaml. An alternative can be specified in koha-conf.xml.
2) Field settings moved from code to etc/searchengine/elasticsearch/field_config.yaml. An alternative can be specified in koha-conf.xml.
3) mappings.yaml has been moved from admin/searchengine/elasticsearch to etc/searchengine/elasticsearch. An alternative can be specified in koha-conf.xml.
4) Default settings have been improved to remove punctuation from phrases used for sorting etc.
5) State variables are used for storing configuration to avoid parsing it multiple times.
6) A possibility to reset the fields too has been added to the reset operation of mappings administration.
7) mappings.yaml has been moved from admin/searchengine/elasticsearch to etc/searchengine/elasticsearch.
8) An stdno field type has been added for standard identifiers.

To test:
1) Run tests in t/Koha/SearchEngine/Elasticsearch.t
2) Clear tables search_fields and search_marc_map
3) Go to admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1
4) Verify that admin/searchengine/elasticsearch/mappings.pl displays the mappings properly, including ISBN and other standard number fields.
5) Index some records using the -d parameter with misc/search_tools/rebuild_elastic_search.pl to recreate the index
6) Verify that you can find the records
7) Put <elasticsearch_index_mappings>non_existent</elasticsearch_index_mappings> to koha-conf.xml
8) Verify that admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1 fails because it can't find non_existent.
9) Copy etc/searchengine/elasticsearch/mappings.yaml to a new location and make elasticsearch_index_mappings setting in koha-conf.xml point to it.
10) Make a change in the new mappings.yaml.
11) Clear table search_fields (mappings reset doesn't do it yet, see bug 20248)
12) Go to admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1
13) Verify that the changes you made are now visible in the mappings UI

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 20073: Move Elasticsearch yaml files back to admin directory

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-06-22 14:37:56 +00:00
..
atomicupdate Bug 20073: Move Elasticsearch configs to yaml files and improve the default settings. 2018-06-22 14:37:56 +00:00
de-DE Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
en Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
es-ES Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
fr-CA Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
fr-FR Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
it-IT Bug 20746: Move it-IT files to optional 2018-05-11 10:52:45 -03:00
mandatory Bug 18786: Add PAYMENT_TYPE to the installer file 2018-05-17 13:16:32 -03:00
nb-NO Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
pl-PL Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
ru-RU Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
uk-UA Bug 19287: Add CANCEL_HOLD_ON_LOST to installer files for all languages 2018-04-23 12:55:59 -03:00
account_offset_types.sql Bug 18790: Add ability to void payments 2018-04-19 12:32:21 -03:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 20073: Move Elasticsearch configs to yaml files and improve the default settings. 2018-06-22 14:37:56 +00:00
labels_upgrade.pl
…
patroncards_upgrade.pl
…
sysprefs.sql Bug 19862: Turn off RoutingListAddReserves on new installations 2018-05-17 11:28:07 -03:00
update22to30.pl
…
updatedatabase.pl Bug 20922: Remove use of Koha::Number::Price in updatedatabase.pl 2018-06-15 10:12:43 +00:00
userflags.sql Bug 2426: Remove deprecated management permission 2018-06-08 12:17:25 +00:00
userpermissions.sql Bug 3849: Improve descriptions of granular acquisition permissions 2018-06-04 13:59:44 +00:00