| Summary: | Elasticsearch - mapping tables are not populated on new installs | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Searching | Assignee: | Jonathan Druart <jonathan.druart> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | brendan, f.demians, josef.moravec, nick |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 12478 | ||
| Bug Blocks: | 17372 | ||
| Attachments: |
Bug 16838: ES - install mappings for new installs
Bug 16838: ES - install mappings for new installs Bug 16838: ES - install mappings for new installs |
||
|
Description
Jonathan Druart
2016-07-01 15:21:17 UTC
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. |