https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38270 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Testing... If I create a simple MARC record with two 500 note fields with 18000 characters in each $a subfield, it won't show up in Koha search results correctly when using Elasticsearch. This is in line with bug 27365. It does seem that MARC::Record->as_usmarc() can output an invalid record which cannot be roundtripped via MARC::Record->new_from_usmarc(). This becomes clear when you start looking at MARC::File::USMARC as Thomas has already noted. No warns get generated from as_usmarc() related functions. The real fix for this bug in Koha would be to fix MARC::File::USMARC. -- So yeah... I'm going to add explicit support for MARCXML and ZLIB_MARCXML to ElasticsearchMARCFormat After changing the preference, you'll need to re-index your records. Technically, I think that's already true, so that should be added to the description... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.