Lines 287-293
sub delete_index {
Link Here
|
287 |
my ($self, $biblionums) = @_; |
287 |
my ($self, $biblionums) = @_; |
288 |
|
288 |
|
289 |
my $elasticsearch = $self->get_elasticsearch(); |
289 |
my $elasticsearch = $self->get_elasticsearch(); |
290 |
my @body = map { { delete => { _id => $_ } } } @{$biblionums}; |
290 |
my @body = map { { delete => { _id => "$_" } } } @{$biblionums}; |
291 |
my $result = $elasticsearch->bulk( |
291 |
my $result = $elasticsearch->bulk( |
292 |
index => $self->index_name, |
292 |
index => $self->index_name, |
293 |
type => 'data', |
293 |
type => 'data', |
294 |
- |
|
|