Main Koha release repository https://koha-community.org
Find a file
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
acqui
admin Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
api/v1
authorities
basket
C4 Bug 19920: Removed unnecessary code from C4/Members.pm 2019-01-25 16:11:48 +00:00
catalogue Bug 21170: Remove "isn't numeric in numeric eq (==)" warnings in MARCdetail 2019-01-18 20:35:49 +00:00
cataloguing
circ
clubs
course_reserves
debian Bug 18909: Enable the maximum zebra records size to be specified per instance 2019-01-25 16:14:48 +00:00
docs
errors Bug 19998: use Modern::Perl in error perl scripts 2018-02-05 09:45:48 -03:00
etc Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
ill
installer Bug 11922: Add SHOW_BCODE patron attribute for Norwegian web installer 2019-01-25 16:12:30 +00:00
Koha Bug 7614: (QA follow-up) Remove unused variable 2019-01-25 16:07:07 +00:00
koha-tmpl Bug 22118: Format hold fee when placing holds in OPAC 2019-01-25 16:13:19 +00:00
labels
members
misc Bug 17047: subscriptions management with Mana-KB 2019-01-23 14:39:26 +00:00
offline_circ
opac Bug 22118: Format hold fee when placing holds in OPAC 2019-01-25 16:13:19 +00:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
reserve
reviews
rotating_collections Bug 21500: Remove warnings in rotating collections 2018-10-09 15:02:45 +00:00
serials Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
services
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
suggestion Bug 21048: (QA follow-up) Fix authorized value statuses in filter 2018-08-08 20:58:23 +00:00
svc Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
t Bug 7614: Fix my variable earlier declaration bug. 2019-01-25 14:46:59 +00:00
tags
test Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
tmp/modified_authorities
tools
virtualshelves
xt
.editorconfig
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
install-CPAN.pl
Koha.pm Bug 17047: DBRev 18.12.00.008 2019-01-23 14:39:26 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo