Bug 36550

Summary: koha-elasticsearch commit default should be configurable
Product: Koha Reporter: David Cook <dcook>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P5 - low    
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:

Description David Cook 2024-04-09 02:26:35 UTC
It can be easy to forget the --commit option when running koha-elasticsearch especially across teams. 

It would be good if we could specify a different default value (rather than 5000) say in /etc/default/koha-common for instance. 

On a system with memory restrictions, 5000 is way too high, and will lead to incomplete ES indexing, which is quite bothersome to rectify after the fact.