Package org.apache.solr.core
Class NodeConfig
- java.lang.Object
-
- org.apache.solr.core.NodeConfig
-
public class NodeConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeConfig.NodeConfigBuilder
-
Field Summary
Fields Modifier and Type Field Description protected SolrResourceLoader
loader
protected Path
solrHome
protected Properties
solrProperties
-
Method Summary
-
-
-
Field Detail
-
solrHome
protected final Path solrHome
-
loader
protected final SolrResourceLoader loader
-
solrProperties
protected final Properties solrProperties
-
-
Method Detail
-
getNodeName
public String getNodeName()
-
getCoreRootDirectory
public Path getCoreRootDirectory()
Absolute.
-
getSolrDataHome
public Path getSolrDataHome()
Absolute.
-
getBooleanQueryMaxClauseCount
public Integer getBooleanQueryMaxClauseCount()
If null, the lucene default will not be overridden- See Also:
BooleanQuery.setMaxClauseCount(int)
-
getShardHandlerFactoryPluginInfo
public PluginInfo getShardHandlerFactoryPluginInfo()
-
getUpdateShardHandlerConfig
public UpdateShardHandlerConfig getUpdateShardHandlerConfig()
-
getCoreLoadThreadCount
public int getCoreLoadThreadCount(boolean zkAware)
-
getReplayUpdatesThreads
public int getReplayUpdatesThreads()
-
getSharedLibDirectory
public String getSharedLibDirectory()
Returns a directory, optionally a comma separated list of directories that will be added to Solr's class path for searching for classes and plugins. The path is either absolute or relative to SOLR_HOME. Note that SOLR_HOME/lib will always be added to the search path even if not included in this list.- Returns:
- a comma separated list of path strings or null if no paths defined
-
getCoreAdminHandlerClass
public String getCoreAdminHandlerClass()
-
getCollectionsHandlerClass
public String getCollectionsHandlerClass()
-
getHealthCheckHandlerClass
public String getHealthCheckHandlerClass()
-
getInfoHandlerClass
public String getInfoHandlerClass()
-
getConfigSetsHandlerClass
public String getConfigSetsHandlerClass()
-
hasSchemaCache
public boolean hasSchemaCache()
-
getManagementPath
public String getManagementPath()
-
getConfigSetBaseDirectory
public Path getConfigSetBaseDirectory()
Absolute.
-
getLogWatcherConfig
public LogWatcherConfig getLogWatcherConfig()
-
getCloudConfig
public CloudConfig getCloudConfig()
-
getTransientCacheSize
public int getTransientCacheSize()
-
getSolrProperties
public Properties getSolrProperties()
-
getSolrHome
public Path getSolrHome()
-
getSolrResourceLoader
public SolrResourceLoader getSolrResourceLoader()
-
getBackupRepositoryPlugins
public PluginInfo[] getBackupRepositoryPlugins()
-
getMetricsConfig
public MetricsConfig getMetricsConfig()
-
getTransientCachePluginInfo
public PluginInfo getTransientCachePluginInfo()
-
getTracerConfiguratorPluginInfo
public PluginInfo getTracerConfiguratorPluginInfo()
-
-