[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 8 17:58:23 CET 2023


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

Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145711|0                           |1
        is obsolete|                            |

--- Comment #23 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Created attachment 146402
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146402&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>

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


More information about the Koha-bugs mailing list