| Summary: | Add logging to reset of elastic mappings files when rebuilding elastic | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Command-line Utilities | Assignee: | Nick Clemens (kidclamp) <nick> |
| Status: | Pushed to main --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | lucas, martin.renvoize, robin |
| Version: | Main | Keywords: | release-notes-needed |
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: |
25.11.00
|
Circulation function: | |
| Attachments: |
Bug 40722: Add a log when resetting mappings during elastic rebuild
Bug 40722: Add a log when resetting mappings during elastic rebuild Bug 40722: Add a log when resetting mappings during elastic rebuild |
||
|
Description
Nick Clemens (kidclamp)
2025-08-28 16:20:04 UTC
Created attachment 185852 [details] [review] Bug 40722: Add a log when resetting mappings during elastic rebuild The command currently logs when deleting indexes and indexing records, it would be helpful to have a log when resetting the mappings, and to log which mapping file has been used. To test: 1 - perl misc/search_tools/rebuild_elasticsearch.pl -r 2 - No log of reset 3 - Apply patch 4 - perl misc/search_tools/rebuild_elasticsearch.pl -r 5 - Note reset is logged Created attachment 185853 [details] [review] Bug 40722: Add a log when resetting mappings during elastic rebuild The command currently logs when deleting indexes and indexing records, it would be helpful to have a log when resetting the mappings, and to log which mapping file has been used. To test: 1 - perl misc/search_tools/rebuild_elasticsearch.pl -r 2 - No log of reset 3 - Apply patch 4 - perl misc/search_tools/rebuild_elasticsearch.pl -r 5 - Note reset is logged Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Trivial logging change, moving to QA Created attachment 187191 [details] [review] Bug 40722: Add a log when resetting mappings during elastic rebuild The command currently logs when deleting indexes and indexing records, it would be helpful to have a log when resetting the mappings, and to log which mapping file has been used. To test: 1 - perl misc/search_tools/rebuild_elasticsearch.pl -r 2 - No log of reset 3 - Apply patch 4 - perl misc/search_tools/rebuild_elasticsearch.pl -r 5 - Note reset is logged Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Nice work everyone! Pushed to main for 25.11 |