Bug 24823: (QA follow-up) Fix deletion and POD
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
d9bfbefaaf
commit
74ff965734
2 changed files with 1 additions and 3 deletions
|
@ -64,8 +64,6 @@ Koha::SearchEngine::Elasticsearch - Base module for things using elasticsearch
|
|||
|
||||
The name of the index to use, generally 'biblios' or 'authorities'.
|
||||
|
||||
=back
|
||||
|
||||
=item index_name
|
||||
|
||||
The Elasticsearch index name with Koha instance prefix.
|
||||
|
|
|
@ -287,7 +287,7 @@ sub delete_index {
|
|||
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',
|
||||
|
|
Loading…
Reference in a new issue