Package org.elasticsearch.common.settings.ImmutableSettings

Examples of org.elasticsearch.common.settings.ImmutableSettings.Builder.loadFromUrl()


                    PLUGIN_CONFIG_FILE_NAME + ".yml",
                    PLUGIN_CONFIG_FILE_NAME + ".json",
                    PLUGIN_CONFIG_FILE_NAME + ".properties"
            }) {
                try {
                    builder.loadFromUrl(environment.resolveConfig(configName));
                } catch (FailedToResolveConfigException e) {
                    // fall-through
                } catch (NoClassDefFoundError e) {
                    logger.warn("Could not parse: {}", e, configName);
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.