Some fields in the record cause errors during indexing if they exist but are blank To recreate: 1 - Use the koha sample data or edit a record using the advanced cataloging editor and blank 100$a (probably also shouldn't be allowed) 2 - Save record 3 - Reindex ES 4 - Note you cannot search for the record bug 22828 will show you the error from ES
I've run into this problem also. I think the records had been migrated from another system and a lot of 245$b were simply blank. ES did not like this. This is the (very cryptic) error message Use of uninitialized value $_ in pattern match