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: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | robin |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | 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 |
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 |