@Override
    public RestHighLevelClient createClient(Map<String, String> config,
        Map<String, EsIndexProperties> esIndices,
        String defaultIndexPrefix) {

        ApimanEsClientOptionsParser parser = new ApimanEsClientOptionsParser(config, defaultIndexPrefix);
        LOGGER.debug("ES client factory config: {0}", parser);
        return this.createEsClient(parser, esIndices);
    }
Creates a client from information in the config map.

@param config             the configuration
@param esIndices          the ES index definitions
@param defaultIndexPrefix the default index prefix to use if not specified in the config
@return the ES client
common/es/src/main/java/io/apiman/common/es/util/DefaultEsClientFactory.java