@Override
    public RestHighLevelClient createClient(Map<String, String> config,  Map<String, EsIndexProperties> esIndices, String defaultIndexPrefix) {
        RestHighLevelClient client;
        String indexName = config.getOrDefault("client.indexPrefix", defaultIndexPrefix); //$NON-NLS-1$
        client = createLocalClient(config, indexName, esIndices);
        return client;
    }
Creates a client from information in the config map.
@param config the configuration
@return the ES client
common/es/src/main/java/io/apiman/common/es/util/LocalClientFactory.java