[Koha-bugs] [Bug 28268] Improve memory usage when indexing authorities in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 30 10:45:16 CEST 2021


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

--- Comment #2 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 120329
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120329&action=edit
Bug 28268: Improve memory usage when indexing authorities in Elasticsearch

Retrieves the complete records one by one to avoid huge memory usage.

Note that this removes the call to GuessAuthTypeCode, but it is done later in
Koha::SearchEngine::Elasticsearch::marc_records_to_documents (and was never
done if you asked to index a single record with --authid parameter).

Test plan:
1. Apply patch
2. Reindex authorities: perl misc/search_tools/rebuild_elasticsearch.pl -a -d
-v
3. Check that indexing completed successfully and results are correct.

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


More information about the Koha-bugs mailing list