SilverStripe\Elastica\DeleteIndexTask
Defines and refreshes the elastic search index.
Synopsis
class DeleteIndexTask
extends BuildTask
{
- // members
- protected string $title = 'Elastic Search Index Deletion';
- protected string $description = 'Deletes the configured elastic search index';
- private ElasticaService $service;
- // methods
- public void __construct()
- public void run()
Hierarchy
Extends
- BuildTask
Members
Methods
public
- __construct()
- run() — Execute the task to delete the currently configured index.