protected function SearchApiElasticsearchConnectorStats::parseKeys in Elasticsearch Connector 7.5
Same name and namespace in other branches
- 7 modules/elasticsearch_connector_search_api/includes/elasticsearch_stats.inc \SearchApiElasticsearchConnectorStats::parseKeys()
- 7.2 modules/elasticsearch_connector_search_api/includes/elasticsearch_stats.inc \SearchApiElasticsearchConnectorStats::parseKeys()
1 call to SearchApiElasticsearchConnectorStats::parseKeys()
- 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 255 - @author nikolayignatov
Class
Code
protected function parseKeys($keys) {
$keys = strtolower($keys);
$keys = str_replace('"', '', $keys);
$ret = preg_split('/\\s+/u', $keys);
return $ret;
}