Package fr.ippon.tatami.service.elasticsearch

Examples of fr.ippon.tatami.service.elasticsearch.RemoteElasticsearchEngine


    @Bean
    public ElasticsearchEngine elasticsearchEngine() {
        log.info("Starting Elasticsearch");
        String mode = env.getRequiredProperty("elasticsearch.engine.mode");
        if (REMOTE_ENGINE.equalsIgnoreCase(mode)) {
            return new RemoteElasticsearchEngine();
        } else if (EMBEDDED_ENGINE.equalsIgnoreCase(mode)) {
            return new EmbeddedElasticsearchEngine();
        } else {
            //Log do not support log.fatal
            log.error("Elasticsearch engine mode is not defined, please configure the \"elasticsearch.engine.mode\" property");
View Full Code Here

TOP

Related Classes of fr.ippon.tatami.service.elasticsearch.RemoteElasticsearchEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.