Bug 36550 - koha-elasticsearch commit default should be configurable
Summary: koha-elasticsearch commit default should be configurable
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 02:26 UTC by David Cook
Modified: 2024-04-09 02:26 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.