Package org.apache.solr.core
Class NodeConfig.NodeConfigBuilder
- java.lang.Object
-
- org.apache.solr.core.NodeConfig.NodeConfigBuilder
-
- Enclosing class:
- NodeConfig
public static class NodeConfig.NodeConfigBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CORE_LOAD_THREADS
static int
DEFAULT_CORE_LOAD_THREADS_IN_CLOUD
static Set<String>
DEFAULT_HIDDEN_SYS_PROPS
-
Constructor Summary
Constructors Constructor Description NodeConfigBuilder(String nodeName, Path solrHome)
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_CORE_LOAD_THREADS
public static final int DEFAULT_CORE_LOAD_THREADS
- See Also:
- Constant Field Values
-
DEFAULT_CORE_LOAD_THREADS_IN_CLOUD
public static final int DEFAULT_CORE_LOAD_THREADS_IN_CLOUD
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCoreRootDirectory
public NodeConfig.NodeConfigBuilder setCoreRootDirectory(String coreRootDirectory)
-
setCoresLocatorClass
public NodeConfig.NodeConfigBuilder setCoresLocatorClass(String coresLocatorClass)
-
setCoreSorterClass
public NodeConfig.NodeConfigBuilder setCoreSorterClass(String coreSorterClass)
-
setSolrDataHome
public NodeConfig.NodeConfigBuilder setSolrDataHome(String solrDataHomeString)
-
setBooleanQueryMaxClauseCount
public NodeConfig.NodeConfigBuilder setBooleanQueryMaxClauseCount(Integer booleanQueryMaxClauseCount)
-
setConfigSetBaseDirectory
public NodeConfig.NodeConfigBuilder setConfigSetBaseDirectory(String configSetBaseDirectory)
-
setSharedLibDirectory
public NodeConfig.NodeConfigBuilder setSharedLibDirectory(String sharedLibDirectory)
-
setShardHandlerFactoryConfig
public NodeConfig.NodeConfigBuilder setShardHandlerFactoryConfig(PluginInfo shardHandlerFactoryConfig)
-
setUpdateShardHandlerConfig
public NodeConfig.NodeConfigBuilder setUpdateShardHandlerConfig(UpdateShardHandlerConfig updateShardHandlerConfig)
-
setCoreAdminHandlerClass
public NodeConfig.NodeConfigBuilder setCoreAdminHandlerClass(String coreAdminHandlerClass)
-
setCoreAdminHandlerActions
public NodeConfig.NodeConfigBuilder setCoreAdminHandlerActions(Map<String,String> coreAdminHandlerActions)
-
setCollectionsAdminHandlerClass
public NodeConfig.NodeConfigBuilder setCollectionsAdminHandlerClass(String collectionsAdminHandlerClass)
-
setHealthCheckHandlerClass
public NodeConfig.NodeConfigBuilder setHealthCheckHandlerClass(String healthCheckHandlerClass)
-
setInfoHandlerClass
public NodeConfig.NodeConfigBuilder setInfoHandlerClass(String infoHandlerClass)
-
setConfigSetsHandlerClass
public NodeConfig.NodeConfigBuilder setConfigSetsHandlerClass(String configSetsHandlerClass)
-
setLogWatcherConfig
public NodeConfig.NodeConfigBuilder setLogWatcherConfig(LogWatcherConfig logWatcherConfig)
-
setCloudConfig
public NodeConfig.NodeConfigBuilder setCloudConfig(CloudConfig cloudConfig)
-
setCoreLoadThreads
public NodeConfig.NodeConfigBuilder setCoreLoadThreads(int coreLoadThreads)
-
setReplayUpdatesThreads
public NodeConfig.NodeConfigBuilder setReplayUpdatesThreads(int replayUpdatesThreads)
-
setTransientCacheSize
@Deprecated public NodeConfig.NodeConfigBuilder setTransientCacheSize(int transientCacheSize)
Deprecated.
-
setUseSchemaCache
public NodeConfig.NodeConfigBuilder setUseSchemaCache(boolean useSchemaCache)
-
setManagementPath
public NodeConfig.NodeConfigBuilder setManagementPath(String managementPath)
-
setSolrProperties
public NodeConfig.NodeConfigBuilder setSolrProperties(Properties solrProperties)
-
setBackupRepositoryPlugins
public NodeConfig.NodeConfigBuilder setBackupRepositoryPlugins(PluginInfo[] backupRepositoryPlugins)
-
setMetricsConfig
public NodeConfig.NodeConfigBuilder setMetricsConfig(MetricsConfig metricsConfig)
-
setCachesConfig
public NodeConfig.NodeConfigBuilder setCachesConfig(Map<String,CacheConfig> cachesConfig)
-
setTracerConfig
public NodeConfig.NodeConfigBuilder setTracerConfig(PluginInfo tracerConfig)
-
setClusterPlugins
public NodeConfig.NodeConfigBuilder setClusterPlugins(PluginInfo[] clusterPlugins)
-
setFromZookeeper
public NodeConfig.NodeConfigBuilder setFromZookeeper(boolean fromZookeeper)
-
setDefaultZkHost
public NodeConfig.NodeConfigBuilder setDefaultZkHost(String defaultZkHost)
-
setAllowPaths
public NodeConfig.NodeConfigBuilder setAllowPaths(Set<Path> paths)
-
setAllowUrls
public NodeConfig.NodeConfigBuilder setAllowUrls(List<String> urls)
-
setHideStackTrace
public NodeConfig.NodeConfigBuilder setHideStackTrace(boolean hide)
-
setConfigSetServiceClass
public NodeConfig.NodeConfigBuilder setConfigSetServiceClass(String configSetServiceClass)
-
setModules
public NodeConfig.NodeConfigBuilder setModules(String moduleNames)
Set list of modules to add to class path- Parameters:
moduleNames
- comma separated list of module names to add to class loader, e.g. "extracting,ltr,langid"
-
setHiddenSysProps
public NodeConfig.NodeConfigBuilder setHiddenSysProps(String hiddenSysProps)
-
build
public NodeConfig build()
-
setSolrResourceLoader
public NodeConfig.NodeConfigBuilder setSolrResourceLoader(SolrResourceLoader resourceLoader)
-
-