Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
The name of the index to use, generally 'biblios' or 'authorities'.
-=back
-
=item index_name
The Elasticsearch index name with Koha instance prefix.
my ($self, $biblionums) = @_;
my $elasticsearch = $self->get_elasticsearch();
- my @body = map { { delete => { _id => $_ } } } @{$biblionums};
+ my @body = map { { delete => { _id => "$_" } } } @{$biblionums};
my $result = $elasticsearch->bulk(
index => $self->index_name,
type => 'data',