[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 21:26:26 CET 2024


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|This enables breaking large |This enables breaking large
      release notes|Elasticsearch or Open       |Elasticsearch or Open
                   |Search indexing requests    |Search indexing requests
                   |into smaller chunks (for    |into smaller chunks (for
                   |example, from batch         |example, from batch
                   |modifications). It adds a   |modifications). It adds a
                   |chunk_size configuration to |chunk_size configuration to
                   |the elasticsearch section   |the elasticsearch section
                   |in koha-conf.xml (for       |in koha-conf.xml (the
                   |example:                    |default is 5,000:
                   |<chunk_size>250</chunk_size |<chunk_size>5000</chunk_siz
                   |>). So instead of sending a |e>). So instead of sending
                   |single background request   |a single background request
                   |for indexing, which could   |for indexing, which could
                   |exceed the limits of the    |exceed the limits of the
                   |search server or take up    |search server or take up
                   |too many resources, this    |too many resources, this
                   |limits index update         |limits index update
                   |requests to a more          |requests to a more
                   |manageable size.
           |manageable size.
                   |
                           |
                   |NOTE:                       |NOTE:
                   |This doesn't change the     |This doesn't change the
                   |command line indexing       |command line indexing
                   |script, as this already     |script, as this already
                   |allows passing a commit     |allows passing a commit
                   |size defining how many      |size defining how many
                   |records to send.            |records to send.

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


More information about the Koha-bugs mailing list