You are here

public function SearchApiElasticsearchIndex::delete in Search API Elasticsearch 7.2

Delete Elasticsearch index.

1 call to SearchApiElasticsearchIndex::delete()
SearchApiElasticsearchIndex::replaceIndex in includes/SearchApiElasticsearchIndex.inc
Helper method for replacing Elasticsearch index after making changes that cannot be applied via update.

File

includes/SearchApiElasticsearchIndex.inc, line 99

Class

SearchApiElasticsearchIndex

Code

public function delete() {
  $index = $this
    ->getRealIndex();
  $index
    ->delete();
}