diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm index 8950f8fb9e..803f152487 100644 --- a/Koha/SearchEngine/Elasticsearch.pm +++ b/Koha/SearchEngine/Elasticsearch.pm @@ -1218,7 +1218,7 @@ sub process_error { warn $msg; # simple logging # This is super-primitive - return "Unable to understand your search query, please rephrase and try again.\n" if $msg =~ /ParseException/; + return "Unable to understand your search query, please rephrase and try again.\n" if $msg =~ /ParseException|parse_exception/; return "Unable to perform your search. Please try again.\n"; }