public RestHighLevelClient createLocalClient(Map<String, String> config, String indexName, Map<String, EsIndexProperties> indexDef) {
        String clientLocClassName = config.get("client.class"); //$NON-NLS-1$
        String clientLocFieldName = config.get("client.field"); //$NON-NLS-1$
        return createLocalClient(clientLocClassName, clientLocFieldName, indexName, indexDef);
    }
Creates a local client from a configuration map.
@param config the config from apiman.properties
@param indexName the name of the ES index
@return the ES client
common/es/src/main/java/io/apiman/common/es/util/LocalClientFactory.java