[Koha-bugs] [Bug 35086] Koha::SearchEngine::Elasticsearch::Indexer->update_index needs to commit in batches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 11 13:18:12 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35086

--- Comment #17 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #16)
> Should not we surround the while with a try instead?... Not sure what's best
> here!

I'd rather try to index what we can, and only fail the bits that didn't work -
i.e. if we have a big job and encounter an error early - a try on the whole
thing would fail on the first chunk and stop. This way it tries each chunk - so
one might fail, but the rest succeed - if there are errors lets minimize what
needs to be reindexed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list