[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 May 8 22:29:31 CEST 2017


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

--- Comment #12 from Barton Chittenden <barton at bywatersolutions.com> ---
(In reply to Barton Chittenden from comment #8)
> 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.

Based on my testing, I believe that the documentation is wrong -- the value of
-k is in bytes, not Kilobytes. -- This may be a moot point, considering the
issues with Z39.50.

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


More information about the Koha-bugs mailing list