Koha/debian/templates
Kyle M Hall 8c0c6be748 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@theke.io>
Signed-off-by: Hugo Agud <hagud@orex.es>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-25 16:14:48 +00:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf Bug 21267: Set X-FORWARDED-PROTO https if required 2018-08-31 12:46:58 +00:00
apache-shared-intranet.conf Bug 21031: Apache Rewrite rules don't work for API when using anything but Debian package Plack configuration 2018-08-02 10:23:08 -03:00
apache-shared-opac-plack.conf Bug 21267: Set X-FORWARDED-PROTO https if required 2018-08-31 12:46:58 +00:00
apache-shared-opac.conf Bug 21031: Apache Rewrite rules don't work for API when using anything but Debian package Plack configuration 2018-08-02 10:23:08 -03:00
apache-shared.conf
apache-site-https.conf.in
apache-site.conf.in
koha-common.conf
koha-conf-site.xml.in Bug 18909: Enable the maximum zebra records size to be specified per instance 2019-01-25 16:14:48 +00:00
koha-sites.conf Bug 21440: koha-create expects the file passed by $DEFAULTSQL to be in gzip format 2018-10-09 09:59:10 +00:00
log4perl-site.conf.in
marc21-retrieval-info-auth-dom.xml
marc21-retrieval-info-bib-dom.xml
normarc-retrieval-info-auth-dom.xml
normarc-retrieval-info-bib-dom.xml
plack.psgi
SIPconfig.xml
unimarc-retrieval-info-auth-dom.xml
unimarc-retrieval-info-bib-dom.xml
zebra-authorities-dom-site.cfg.in
zebra-biblios-dom-site.cfg.in
zebra.passwd.in