code: public static void createIndex(RestClient client, String index, boolean force) throws Exception {
  		String settings = IndexSettingsReader.readSettings(index);
  		createIndexWithSettings(client, index, settings, force);
  	}
docs: Create a new index in Elasticsearch. Read also _settings.json if exists in default classpath dir.
  @param client Elasticsearch client
  @param index Index name
  @param force Remove index if exists (Warning: remove all data)
  @throws Exception if the elasticsearch API call is failing