You are here

protected function SearchApiElasticsearchConnectorStats::parseKeys in Elasticsearch Connector 7

Same name and namespace in other branches
  1. 7.5 modules/elasticsearch_connector_search_api/includes/elasticsearch_stats.inc \SearchApiElasticsearchConnectorStats::parseKeys()
  2. 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 218
@author nikolayignatov

Class

SearchApiElasticsearchConnectorStats

Code

protected function parseKeys($keys) {
  $keys = strtolower($keys);
  $keys = str_replace('"', '', $keys);
  $ret = preg_split('/\\s+/u', $keys);
  return $ret;
}