Package org.apache.solr.core
Class NodeConfig
java.lang.Object
org.apache.solr.core.NodeConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SolrResourceLoaderstatic final Stringprotected final Pathprotected final Properties -
Method Summary
Modifier and TypeMethodDescriptionExtra file paths that will be allowed for core creation, in addition to SOLR_HOME, SOLR_DATA_HOME and coreRootDirAllow-list of Solr nodes URLs.If null, the lucene default will not be overriddenAbsolute.intgetCoreLoadThreadCount(boolean zkAware) Absolute.intReturns the modules as configured in solr.xml.getRedactedSysPropValue(String sysPropName) Returns the system property value, or "--REDACTED--" if the system property is hiddenintReturns a directory, optionally a comma separated list of directories that will be added to Solr's class path for searching for classes and plugins.Absolute.static PathObtain the path of solr's binary installation directory, e.g.booleanbooleanstatic voidinitModules(SolrResourceLoader loader, String modules) booleanisSysPropHidden(String sysPropName) Returns whether a given system property is hiddenstatic NodeConfigloadNodeConfig(Path solrHome, Properties nodeProperties) Get the NodeConfig.
-
Field Details
-
solrHome
-
loader
-
solrProperties
-
REDACTED_SYS_PROP_VALUE
- See Also:
-
-
Method Details
-
loadNodeConfig
Get the NodeConfig. This may also be used by custom filters to load relevant configuration.- Returns:
- the NodeConfig
-
getConfigSetServiceClass
-
getNodeName
-
getCoreRootDirectory
Absolute. -
getCoresLocatorClass
-
getCoreSorterClass
-
getSolrDataHome
Absolute. -
getSolrInstallDir
Obtain the path of solr's binary installation directory, e.g./opt/solr- Returns:
- path to install dir or null if solr.install.dir not set.
-
getBooleanQueryMaxClauseCount
If null, the lucene default will not be overridden- See Also:
-
getShardHandlerFactoryPluginInfo
-
getUpdateShardHandlerConfig
-
getCoreLoadThreadCount
public int getCoreLoadThreadCount(boolean zkAware) -
getReplayUpdatesThreads
public int getReplayUpdatesThreads() -
getIndexSearcherExecutorThreads
public int getIndexSearcherExecutorThreads() -
getCoreAdminHandlerClass
-
getCoreAdminHandlerActions
-
getCollectionsHandlerClass
-
getHealthCheckHandlerClass
-
getInfoHandlerClass
-
getConfigSetsHandlerClass
-
hasSchemaCache
public boolean hasSchemaCache() -
getConfigSetBaseDirectory
Absolute. -
getLogWatcherConfig
-
getCloudConfig
-
getSolrProperties
-
getSolrHome
-
getSolrResourceLoader
-
getBackupRepositoryPlugins
-
getMetricsConfig
-
getCachesConfig
-
getTracerConfiguratorPluginInfo
-
getClusterPlugins
-
getAllowPaths
Extra file paths that will be allowed for core creation, in addition to SOLR_HOME, SOLR_DATA_HOME and coreRootDir -
getAllowUrls
Allow-list of Solr nodes URLs. -
hideStackTraces
public boolean hideStackTraces() -
getModules
Returns the modules as configured in solr.xml. Comma separated list. May be null if not defined -
isSysPropHidden
Returns whether a given system property is hidden -
getRedactedSysPropValue
Returns the system property value, or "--REDACTED--" if the system property is hidden -
initModules
-