[Koha-bugs] [Bug 15399] MARCXML records larger than 1 MB (1048576 bytes) are not searchable.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 13 14:56:48 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15399
--- Comment #8 from Barton Chittenden <barton at bywatersolutions.com> ---
It turns out that the 1024 K limit is the default max record size in zebrasrv;
this can be changed using the -k option to zebrasrv.
man zebrasrv shows:
-k size
Maximum record size/message size, in kilobytes. Default is 1024 KB (1 MB).
This could be increased in koha-start-zebra, koha-restart-zebra and koha-zebra.
I imagine the change would look something like this:
from
zebrasrv \
-v $loglevels \
-f "/etc/koha/sites/$instancename/koha-conf.xml" && \
return 0 || \
return 1
to
zebrasrv \
-v $loglevels \
-k $max_record_size
-f "/etc/koha/sites/$instancename/koha-conf.xml" && \
return 0 || \
return 1
where $max_record_size would be read from $KOHA_CONF in the same manner that
$loglevels is.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list