[Koha-bugs] [Bug 32594] Add a dedicated ES indexing background worker
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 14:22:07 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32594
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #146402|0 |1
is obsolete| |
Attachment #146831|0 |1
is obsolete| |
--- Comment #27 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 147141
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147141&action=edit
Bug 32594: Add a dedicated Elasticsearch biblio indexing background queue
Currently we generate large numebrs if single record reindex for circulation
and other
actions. It can take a long time to process these as we need to load the ES
settings for each.
This patch updates the Elasticsearch background jobs to throw records into a
new queue
that can be processed by it's own worker and adds a dedicated worker that
batches the jobs
every 1 second.
To test:
1 - Apply patches, set SearchEngine system preference to 'Elasticsearch'
2 - perl misc/search_tools/es_indexer_daemon.pl
3 - Leave the running in terminal and perform actions in staff interface:
- Checking out a bib
- Returning a bib
- Editing a single bib
- Editing a single item
- Batch editing bibs
- Batch editing items
4 - Confirm for each action that records are updated in search/search results
5 - Stop the script
6 - set SearchEngine system preference to 'Zebra'
7 - perl misc/search_tools/es_indexer_daemon.pl
8 - Script dies as Elasticsearch not enabled
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov>
Bug 32594: (follow-up) Adjust logging per bug 32612
JD amended patch: tidy! There were tabs here...
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list