All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.elasticsearch.bootstrap.ElasticSearchF Maven / Gradle / Ivy

There is a newer version: 8.14.1
Show newest version
package org.elasticsearch.bootstrap;

/**
 * Same as {@link ElasticSearch} just runs it in the foreground by default (does not close
 * sout and serr).
 */
public class ElasticSearchF {

    public static void close(String[] args) {
        Bootstrap.close(args);
    }

    public static void main(String[] args) {
        System.setProperty("es.foreground", "yes");
        Bootstrap.main(args);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy