Main Koha release repository https://koha-community.org
Find a file
Ere Maijala 7e14b054b2 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.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-17 12:34:33 +02:00
acqui Bug 23971: Rename pref with AcquisitionLog 2021-04-23 11:58:49 +02:00
admin Bug 28276: Do not fetch config ($KOHA_CONF) from memcached 2021-05-10 10:28:04 +02:00
api Bug 28189: Move swagger file to YAML format 2021-05-12 17:39:36 +02:00
authorities Bug 28160: Values from 150$a aren't prefilled in z39.50 search form from an existing authority record 2021-05-10 15:52:53 +02:00
basket Bug 27268: (QA follow-up) Add Koha::Biblios to basket scripts 2021-03-09 17:20:47 +01:00
bin
C4 Bug 18989: Allow displaying biblios with all items hidden by OpacHiddenItems 2021-05-12 14:12:07 +02:00
catalogue Bug 21249: (follow-up) Adding parentheses to fix query 2021-05-06 15:52:43 +02:00
cataloguing Bug 27739: Advanced editor should use DefaultCountryField008 preference 2021-04-16 12:28:17 +02:00
circ Bug 25760: (bug 15422 follow-up) Display record with hold ratio greater than or equal to the value entered 2021-05-10 15:46:55 +02:00
clubs
course_reserves
debian Bug 27844: Launch koha-worker systemd service as koha linux user 2021-05-17 12:34:33 +02:00
docs Bug 28244: Fix typo in Ukrainian in history 2021-04-30 17:07:31 +02:00
errors
etc Bug 14300: Add %P to SIP LogPattern 2021-04-21 15:25:07 +02:00
ill
installer Bug 18989: DBRev 20.12.00.050 2021-05-12 17:38:50 +02:00
Koha Bug 28268: Improve memory usage when indexing authorities in Elasticsearch 2021-05-17 12:34:33 +02:00
koha-tmpl Bug 28220: UI changes 2021-05-17 12:29:24 +02:00
labels Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
members Bug 18112: Use GetAuthValueDropbox from the template 2021-05-11 15:37:42 +02:00
misc Bug 27562: itiva notices break if record title contains quotes 2021-05-11 15:13:28 +02:00
offline_circ
opac Bug 18989: Restore hidding items on detail 2021-05-12 14:12:07 +02:00
patron_lists
patroncards Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
plugins
pos Bug 28181: Filter out archived debit types in point of sale 2021-05-10 15:46:54 +02:00
reports Bug 16486: Display the timestamp when an accountline is updated 2021-05-06 15:52:41 +02:00
reserve Bug 28229: Count only if needed 2021-05-10 15:46:54 +02:00
reviews
rotating_collections Bug 26618: (QA follow-up) Fix unit test for TranferCollection change 2021-03-03 15:36:13 +01:00
serials Bug 23243: Adjust previous patch 2021-04-21 15:25:07 +02:00
services
skel
suggestion Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-01 11:16:42 +01:00
svc Bug 27061: Remove duplicate permission check in svc/mana/search 2021-04-30 17:07:32 +02:00
t Bug 28220: UI changes 2021-05-17 12:29:24 +02:00
tags
tmp/modified_authorities
tools Bug 21818: Replace AutoCommit flag with DBIx transaction in stage-marc-import.pl 2021-04-27 16:23:49 +02:00
virtualshelves
xt Bug 27625: Fix sample_notices.t 2021-05-10 15:52:53 +02:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.scss-lint.yml
about.pl Bug 26995: Fix SQL syntax error on the about page 2021-05-10 15:46:55 +02:00
app.psgi
changelanguage.pl
cpanfile Bug 28302: Forbid CGI::Compile 0.24 2021-05-17 12:29:24 +02:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 18989: DBRev 20.12.00.050 2021-05-12 17:38:50 +02:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json Bug 27939: Update yarn.lock file 2021-03-16 12:04:06 +01:00
README
README.md
README.robots
rewrite-config.PL
yarn.lock Bug 27939: Update yarn.lock file 2021-03-16 12:04:06 +01:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo