code: @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);
  	}
docs: Create a template in Elasticsearch.
  @param client Elasticsearch client
  @param root dir within the classpath
  @param template Template name
  @param force set it to true if you want to force cleaning template before adding it
  @throws Exception if something goes wrong
  @deprecated Will be removed when we don't support TransportClient anymore