@@ -, +, @@ (use docker image: docker.io/koha/elasticsearch-icu:8.x) It should fail It should end with "Total XXX records indexed" before --- Koha/SearchEngine/Elasticsearch/Indexer.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ a/Koha/SearchEngine/Elasticsearch/Indexer.pm @@ -134,7 +134,6 @@ sub update_index { my $elasticsearch = $self->get_elasticsearch(); $response = $elasticsearch->bulk( index => $self->index_name, - type => 'data', # is just hard coded in Indexer.pm? body => \@body ); if ($response->{errors}) { @@ -270,11 +269,7 @@ sub update_mappings { try { my $response = $elasticsearch->indices->put_mapping( index => $self->index_name, - type => 'data', - include_type_name => JSON::true(), - body => { - data => $mappings - } + body => $mappings, ); } catch { $self->set_index_status_recreate_required(); @@ -363,7 +358,6 @@ sub delete_index { my @body = map { { delete => { _id => "$_" } } } @{$biblionums}; my $result = $elasticsearch->bulk( index => $self->index_name, - type => 'data', body => \@body, ); if ($result->{errors}) { --