Uses of Class
org.elasticsearch.env.Environment
-
-
Uses of Environment in org.elasticsearch.action.admin.cluster.node.reload
Constructors in org.elasticsearch.action.admin.cluster.node.reload with parameters of type Environment Constructor Description TransportNodesReloadSecureSettingsAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, Environment environment, PluginsService pluginService) -
Uses of Environment in org.elasticsearch.bootstrap
Methods in org.elasticsearch.bootstrap that return Environment Modifier and Type Method Description EnvironmentBootstrapContext. environment()Constructors in org.elasticsearch.bootstrap with parameters of type Environment Constructor Description BootstrapContext(Environment environment, MetaData metaData) -
Uses of Environment in org.elasticsearch.cluster.metadata
Constructors in org.elasticsearch.cluster.metadata with parameters of type Environment Constructor Description MetaDataCreateIndexService(Settings settings, ClusterService clusterService, IndicesService indicesService, AllocationService allocationService, AliasValidator aliasValidator, Environment env, IndexScopedSettings indexScopedSettings, ThreadPool threadPool, NamedXContentRegistry xContentRegistry, boolean forbidPrivateIndexSettings) -
Uses of Environment in org.elasticsearch.common.logging
Methods in org.elasticsearch.common.logging with parameters of type Environment Modifier and Type Method Description static voidLogConfigurator. configure(Environment environment)Configure logging reading from any log4j2.properties found in the config directory and its subdirectories from the specified environment. -
Uses of Environment in org.elasticsearch.env
Methods in org.elasticsearch.env with parameters of type Environment Modifier and Type Method Description static voidEnvironment. assertEquivalent(Environment actual, Environment expected)asserts that the two environments are equivalent for all things the environment cares about (i.e., all but the setting object which may contain different setting)Constructors in org.elasticsearch.env with parameters of type Environment Constructor Description NodeEnvironment(Settings settings, Environment environment)Setup the environment.NodeLock(int nodeId, org.apache.logging.log4j.Logger logger, Environment environment, CheckedFunction<Path,Boolean,IOException> pathFunction)Tries to acquire a node lock for a node id, throwsIOExceptionif it is unable to acquire it -
Uses of Environment in org.elasticsearch.index.analysis
Methods in org.elasticsearch.index.analysis with parameters of type Environment Modifier and Type Method Description AnalyzerProvider<?>PreBuiltAnalyzerProviderFactory. get(IndexSettings indexSettings, Environment environment, String name, Settings settings)TPreConfiguredAnalysisComponent. get(IndexSettings indexSettings, Environment environment, String name, Settings settings)static ReaderAnalysis. getReaderFromFile(Environment env, Settings settings, String settingPrefix)static List<String>Analysis. getWordList(Environment env, Settings settings, String settingPrefix)Fetches a list of words from the specified settings file.static List<String>Analysis. getWordList(Environment env, Settings settings, String settingPath, String settingList, boolean removeComments)Fetches a list of words from the specified settings file.static CharArraySetAnalysis. getWordSet(Environment env, Settings settings, String settingsPrefix)static CharArraySetAnalysis. parseArticles(Environment env, Settings settings)static CharArraySetAnalysis. parseCommonWords(Environment env, Settings settings, CharArraySet defaultCommonWords, boolean ignoreCase)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords, boolean ignoreCase)static CharArraySetAnalysis. parseWords(Environment env, Settings settings, String name, CharArraySet defaultWords, Map<String,Set<?>> namedWords, boolean ignoreCase) -
Uses of Environment in org.elasticsearch.indices.analysis
Methods in org.elasticsearch.indices.analysis with parameters of type Environment Modifier and Type Method Description default TAnalysisModule.AnalysisProvider. get(Environment environment, String name)Creates a new global scope analysis provider without index specific settings not settings for the provider itself.TAnalysisModule.AnalysisProvider. get(IndexSettings indexSettings, Environment environment, String name, Settings settings)Creates a new analysis provider.Constructors in org.elasticsearch.indices.analysis with parameters of type Environment Constructor Description AnalysisModule(Environment environment, List<AnalysisPlugin> plugins)HunspellService(Settings settings, Environment env, Map<String,Dictionary> knownDictionaries) -
Uses of Environment in org.elasticsearch.ingest
Fields in org.elasticsearch.ingest declared as Environment Modifier and Type Field Description EnvironmentProcessor.Parameters. envUseful to provide access to the node's environment like config directory to processor factories.Constructors in org.elasticsearch.ingest with parameters of type Environment Constructor Description IngestService(ClusterService clusterService, ThreadPool threadPool, Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, List<IngestPlugin> ingestPlugins, Client client)Parameters(Environment env, ScriptService scriptService, AnalysisRegistry analysisRegistry, ThreadContext threadContext, LongSupplier relativeTimeSupplier, BiFunction<Long,Runnable,Scheduler.ScheduledCancellable> scheduler, IngestService ingestService, Client client, Consumer<Runnable> genericExecutor) -
Uses of Environment in org.elasticsearch.node
Methods in org.elasticsearch.node that return Environment Modifier and Type Method Description EnvironmentNode. getEnvironment()Returns the environment of the nodestatic EnvironmentInternalSettingsPreparer. prepareEnvironment(Settings input, Map<String,String> properties, Path configPath, Supplier<String> defaultNodeName)Prepares the settings by gathering all elasticsearch system properties, optionally loading the configuration settings.Constructors in org.elasticsearch.node with parameters of type Environment Constructor Description Node(Environment environment)Node(Environment environment, Collection<Class<? extends Plugin>> classpathPlugins, boolean forbidPrivateIndexSettings)Constructs a node -
Uses of Environment in org.elasticsearch.plugins
Methods in org.elasticsearch.plugins with parameters of type Environment Modifier and Type Method Description Collection<Object>Plugin. createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry)Returns components added by this plugin.default Map<String,Repository.Factory>RepositoryPlugin. getInternalRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Returns internal repository types added by this plugin.default Map<String,Repository.Factory>RepositoryPlugin. getRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Returns repository types added by this plugin. -
Uses of Environment in org.elasticsearch.repositories
Constructors in org.elasticsearch.repositories with parameters of type Environment Constructor Description RepositoriesModule(Environment env, List<RepositoryPlugin> repoPlugins, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, NamedXContentRegistry namedXContentRegistry) -
Uses of Environment in org.elasticsearch.repositories.fs
Constructors in org.elasticsearch.repositories.fs with parameters of type Environment Constructor Description FsRepository(RepositoryMetaData metadata, Environment environment, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)Constructs a shared file system repository.
-