Bug 12478: ES is now updated when records are updated/deleted
[koha.git] / misc / search_tools / rebuild_elastic_search.pl
index 84bb110..4cbecdb 100755 (executable)
@@ -157,7 +157,7 @@ sub do_reindex {
 
         # We know it's safe to not recreate the indexer because update_index
         # hasn't been called yet.
-        $indexer->delete_index();
+        $indexer->drop_index();
     }
 
     my $count        = 0;