@ Deprecated public static void createTemplate ( Client client , String root , String template , boolean force ) throws Exception { String json = TemplateSettingsReader . readTemplate ( root , template ) ; createTemplateWithJson ( client , template , json , force ) ; }
Create a template in Elasticsearch .