settingsBuilder.loadFromUrl(environment.resolveConfig("elasticsearch.properties"));
} catch (FailedToResolveConfigException e) {
}
}
}
<BUG>settingsBuilder.put(pSettings)

.putProperties("elasticsearch.", System.getProperties(), ignorePrefixes)

.putProperties("es.", System.getProperties(), ignorePrefixes)

.replacePropertyPlaceholders();
</BUG>
if (settingsBuilder.get("name") == null) {

settingsBuilder.loadFromUrl(environment.resolveConfig("elasticsearch.properties"));
} catch (FailedToResolveConfigException e) {
}
}
}
settingsBuilder.put(pSettings);
if (useSystemProperties) {
settingsBuilder.putProperties("elasticsearch.", System.getProperties(), ignorePrefixes)
.putProperties("es.", System.getProperties(), ignorePrefixes);
}
settingsBuilder.replacePropertyPlaceholders();
if (settingsBuilder.get("name") == null) {
