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.
Created attachment 55909 [details] [review] 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
Created attachment 55929 [details] [review] 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>
Corrected meppings to mappings and upgrade of db worked
(In reply to Nick Clemens from comment #3) > Corrected meppings to mappings and upgrade of db worked I did it! But the patch is not here, so it might have been submitted on another bug :-/
(In reply to Jonathan Druart from comment #4) > (In reply to Nick Clemens from comment #3) > > Corrected meppings to mappings and upgrade of db worked > > I did it! But the patch is not here, so it might have been submitted on > another bug :-/ Erk it was on bug 17372.
Created attachment 56135 [details] [review] 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>
Pushed to Master - Should be in the November 16.11 release. Thanks!
Pushed in 16.05. Will be in 16.05.05.