@@ -, +, @@ --- Koha/SearchEngine/Elasticsearch.pm | 2 +- Koha/SearchEngine/Elasticsearch/Indexer.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Koha/SearchEngine/Elasticsearch.pm +++ a/Koha/SearchEngine/Elasticsearch.pm @@ -488,7 +488,7 @@ sub _process_mappings { # Pass each value to current callback which returns a list # (scalar is fine too) resulting either in a list or # a list of lists that will be flattened by perl. - # The next callback will recieve the possibly expanded list of values. + # The next callback will receive the possibly expanded list of values. $values = [ map { $callback->($_) } @{$values} ]; } } --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ a/Koha/SearchEngine/Elasticsearch/Indexer.pm @@ -118,7 +118,7 @@ sub update_index { body => \@body ); if ($response->{errors}) { - carp "One or more ElasticSearch errors occured when indexing documents"; + carp "One or more ElasticSearch errors occurred when indexing documents"; } } return $response; --