[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.08-30-g2660cc8

Git repo owner gitmaster at git.koha-community.org
Fri Feb 1 23:33:40 CET 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 18.05.x has been updated
       via  2660cc8f0bbb7f8d0903aa2145095a43c84c5a8e (commit)
      from  9880c7d852358cdabaa37348dd67af57613a53e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2660cc8f0bbb7f8d0903aa2145095a43c84c5a8e
Author: Kyle M Hall <kyle at bywatetsolutions.com>
Date:   Tue Mar 6 13:29:22 2018 -0500

    Bug 18909: Enable the maximum zebra records size to be specified per instance
    
    The default for Zebra is to not return results where the record size is
    greater than 1045 KB ( 1 MB ). Some libraries need to increase this
    ceiling, but it may come at a cost with z39.50 compatibility with other
    services. For that reason, we should make this setting configurable on a
    per-instance basis.
    
    Test plan for kohadevbox:
    1) Apply this patch
    2) Run:
       $ reset_all
    3) Restart Zebra:
       $ sudo koha-zebra --restart kohadev
    4) Check how zebrasrv was called:
       $ ps waux | grep zebrasrv
    => SUCCESS: Looks like
     ... /usr/bin/zebrasrv -v none,fatal,warn -k 1024
    5) Edit /etc/koha/sites/kohadev/koha-conf.xml, add:
       <zebra_max_record_size>2048</zebra_max_record_size>
    6) Repeat (3) and (4)
    => SUCCESS: Looks like
     ... /usr/bin/zebrasrv -v none,fatal,warn -k 2048
    7) Sign off :-D
    
    General test plan:
    1) Apply this patch
    2) Build a Debian package
    3) Specify a zebra_max_record_size of 2048 in your koha_conf.xml
    4) Restart zebra
    5) Index a record greater than 1 MB but smaller than 2 MB
    6) Note that it is searchable!
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Hugo Agud <hagud at orex.es>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 8c0c6be7488e0543662e47006ded12e74ae4eb8d)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 35fc9c10032a4b130d9861efb36f112112294e57)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 debian/scripts/koha-functions.sh       |   11 +++++++++++
 debian/scripts/koha-zebra              |    2 ++
 debian/templates/koha-conf-site.xml.in |    1 +
 3 files changed, 14 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list