You are here

protected function SearchApiElasticsearchIndex::getNewIndexName in Search API Elasticsearch 7.2

Get a new Elasticsearch index name.

Return value

string;

1 call to SearchApiElasticsearchIndex::getNewIndexName()
SearchApiElasticsearchIndex::add in includes/SearchApiElasticsearchIndex.inc
Add an Elasticsearch index, but don't expose it to Drupal via alias.

File

includes/SearchApiElasticsearchIndex.inc, line 274

Class

SearchApiElasticsearchIndex

Code

protected function getNewIndexName() {
  return $this->search_api_index->machine_name . '_' . REQUEST_TIME;
}