View | Details | Raw Unified | Return to bug 24823
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch.pm (-2 lines)
Lines 64-71 Koha::SearchEngine::Elasticsearch - Base module for things using elasticsearch Link Here
64
64
65
The name of the index to use, generally 'biblios' or 'authorities'.
65
The name of the index to use, generally 'biblios' or 'authorities'.
66
66
67
=back
68
69
=item index_name
67
=item index_name
70
68
71
The Elasticsearch index name with Koha instance prefix.
69
The Elasticsearch index name with Koha instance prefix.
(-)a/Koha/SearchEngine/Elasticsearch/Indexer.pm (-2 / +1 lines)
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
- 

Return to bug 24823