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

--- Comment #40 from David Cook <[email protected]> ---
(In reply to Thomas Klausner from comment #36)
> Koha itself should switch to use MARCXML to store the whole record in the ES
> index (unless we don't need the whole record in the index at all)

I'm inclined to agree here. I think we need the whole record, since we do
things like add the items, make some changes for 880, etc.

If we're scared about how much space MARCXML will take in the Elasticsearch
document, we could compress it. 

Compress::Zlib and IO::Compress::Gzip are both part of the Perl core. I think
that the Zlib one uses C bindings (via Compress::Raw::Zlib) to use the zlib C
library while the Gzip one is Pure Perl so probably less efficient.

We could add options to ElasticsearchMARCFormat for "MARCXML" and "MARCXML
(zlib compressed)" or just the latter. 

--

Most of our libraries are on Elasticsearch but some are still on Zebra
specifically because of this issue, so it would be nice to fix this (even
nearly 4 years later after being initially reported). 

I'm pretty flat out at the moment, but interested in doing a proof of concept
for this one. In theory, it shouldn't be that much code...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to