Bug 41004

Summary: Enhance documentation for rebuild_elasticsearch.pl / koha-elasticsearch wrapper script
Product: Koha Reporter: Anke Bruns <anke.bruns>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: domm
Version: unspecified   
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:

Description Anke Bruns 2025-10-13 13:20:39 UTC
Help texts for the rebuild job resp. the wrapper script should include a warning that the parameters -d and -r always delete resp. reset the entire index even if the reindex command is limited to a subset with --where/-w or -bn (-ai for authorities) parameters.

See also https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40986
Comment 1 Thomas Klausner 2025-10-14 15:11:46 UTC
Actually I think the script should abort if -d or -r are used together with any limiting param.