for (Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
String key = entry.getKey().toString();
if (key.startsWith(PROP_PREFIX)) {
properties.put(StringUtils.substringAfter(key, PROP_PREFIX), entry.getValue());
}
<BUG>}
try {
LOG.info("Starting elasticsearch server");
searchServer.start();
searchServer.isReady();
LOG.info("Elasticsearch server started");</BUG>
platform.init(properties);

for (Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
String key = entry.getKey().toString();
if (key.startsWith(PROP_PREFIX)) {
properties.put(StringUtils.substringAfter(key, PROP_PREFIX), entry.getValue());
}
}
platform = new Platform();
platform.init(properties);
