From 6a709e775c6dab7f0bb92923af09761e7223be0f 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 Signed-off-by: Katrin Fischer --- 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 674e375ec2..46c267101b 100644 --- a/Koha/SearchEngine/Elasticsearch.pm +++ b/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} ]; } } diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm index f9270c0ae0..39f471df78 100644 --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ b/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; -- 2.11.0