use of org.n52.iceland.statistics.impl.server.EmbeddedElasticsearch in project arctic-sea by 52North.
the class ElasticsearchAdminHandler method initEmbeddedMode.
private void initEmbeddedMode() {
embeddedServer = new EmbeddedElasticsearch();
embeddedServer.setHomePath(context.getRealPath("/WEB-INF").concat("/elasticsearch"));
embeddedServer.init();
client = embeddedServer.getClient();
logger.info("ElasticSearch data handler starting in EMBEDDED mode");
}
Aggregations