]> git.koha-community.org Git - koha.git/commit
Bug 16838: ES - install mappings for new installs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 29 Sep 2016 09:18:27 +0000 (10:18 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 11:49:31 +0000 (13:49 +0200)
commit78a58175a5f60c3293e0bdbffe3364a6c06844a9
tree8b321bce68f3e76789e16535624db5c924eb5891
parent0e953489908f8fb44bd6173620050054e0a66e71
Bug 16838: ES - install mappings for new installs

The yaml file is not used to populate ES mapping tables (search_field,
search_marc_map and search_marc_to_field) when doing a fresh install.

We need to insert them, otherwise ES will be unusable.

Test plan:
Create a new install and confirm that the ES tables (search_field,
search_marc_map and search_marc_to_field) are correctly populated.

Bonus points: Use an older DB (prior to 3.23.00.050), execute the
updatedatabase.pl script and confirm that the ES table are correctly
populated

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit a36b6430195310b5198077dd50cdb436ef07ce37)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Koha/ElasticSearch.pm
installer/data/mysql/updatedatabase.pl
installer/install.pl