protected function SearchApiElasticsearchConnectorStats::getIndexParam in Elasticsearch Connector 7.5
Get the index and type parameters.
Return value
array
1 call to SearchApiElasticsearchConnectorStats::getIndexParam()
- SearchApiElasticsearchConnectorStats::logStat in modules/
elasticsearch_connector_search_api/ includes/ elasticsearch_stats.inc - Logging the statistics into the stats type in elasticsearch index.
File
- modules/
elasticsearch_connector_search_api/ includes/ elasticsearch_stats.inc, line 171 - @author nikolayignatov
Class
Code
protected function getIndexParam() {
$params = $this->connector
->getIndexParam($this->index, FALSE);
$params['index'] .= '_' . implode('_', array(
self::TYPE_EXT,
date('Ym'),
));
$params['type'] = self::TYPE_EXT;
return $params;
}