class ESUtils {

    public static void createIndex(String url, String indexName) throws Exception {
        String esUrl = new StringBuilder(url).append("/").append(indexName).toString();
        CommonUtils.doHttpPut(esUrl, null);
    }

}