From 5caf27f1a3d4d63c5ea22b86484fe31794d886b9 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 7 May 2020 16:26:38 +0000 Subject: [PATCH] Bug 24807: (follow-up) Fix spelling Signed-off-by: Nick Clemens --- Koha/SearchEngine/Elasticsearch.pm | 2 +- Koha/SearchEngine/Elasticsearch/Indexer.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm index 3d2622f97b..be3308cb87 100644 --- a/Koha/SearchEngine/Elasticsearch.pm +++ b/Koha/SearchEngine/Elasticsearch.pm @@ -496,7 +496,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} ]; } } diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm index 2c9c4bf91c..48768f9dcf 100644 --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm @@ -125,7 +125,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; -- 2.11.0