protected void deleteIndices(RestHighLevelClient client) throws IOException {
        // In order to maintain backwards compatibility, we still accept 'jest' for the factory name, even
        // though jest has now been replaced with an official HTTP client from Elastic.
        String factoryClass = config.get("client.type"); //$NON-NLS-1$
        if (EsUtils.isEsOrJest(factoryClass)) {
            DefaultEsClientFactory.deleteIndices(client);
        }
    }
Delete all created es indices
@param client
@throws IOException
common/es/src/main/java/io/apiman/common/es/util/AbstractEsComponent.java