$indexer->update_index(\@record_ids);
};
if ( $@ ) {
warn $@;
push @messages, {
type => 'error',
code => 'index_error',
-