Package | Description |
---|---|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.cloud.autoscaling |
Package for classes related to autoscaling
|
org.apache.solr.core |
Core classes implementing Solr internals and the management of
SolrCore s |
org.apache.solr.core.backup.repository |
BackupRepository Providing backup/restore
repository interfaces to plug different storage systems |
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.index |
Indexing related classes.
|
org.apache.solr.logging |
APIs related to capturing log event info in the
LoggingHandler |
org.apache.solr.metrics |
The
SolrCoreMetricManager is responsible for
collecting metrics from SolrMetricProducer 's
and exposing metrics to SolrMetricReporter 's. |
org.apache.solr.rest |
Solr RESTful APIs via Restlet.
|
org.apache.solr.rest.schema.analysis |
Analysis-related functionality for RESTful API access to the Solr Schema using Restlet.
|
org.apache.solr.schema |
IndexSchema and FieldType implementations for powering schema.xml |
org.apache.solr.update.processor |
UpdateRequestProcessorFactory APIs and implementations for use in UpdateRequestProcessorChain s |
org.apache.solr.util.plugin |
Common APIs related to implementing Solr plugins
|
Modifier and Type | Class and Description |
---|---|
class |
ZkSolrResourceLoader
ResourceLoader that works with ZooKeeper.
|
Modifier and Type | Method and Description |
---|---|
SolrResourceLoader |
CloudConfigSetService.createCoreResourceLoader(CoreDescriptor cd) |
Modifier and Type | Method and Description |
---|---|
static String |
CloudUtil.unifiedResourcePath(SolrResourceLoader loader)
Returns a displayable unified path to the given resource.
|
Constructor and Description |
---|
CloudConfigSetService(SolrResourceLoader loader,
ZkController zkController) |
Constructor and Description |
---|
NodeAddedTrigger(String name,
Map<String,Object> properties,
SolrResourceLoader loader,
SolrCloudManager cloudManager) |
NodeLostTrigger(String name,
Map<String,Object> properties,
SolrResourceLoader loader,
SolrCloudManager dataProvider) |
OverseerTriggerThread(SolrResourceLoader loader,
SolrCloudManager dataProvider,
CloudConfig cloudConfig) |
ScheduledTriggers(SolrResourceLoader loader,
SolrCloudManager cloudManager) |
SearchRateTrigger(String name,
Map<String,Object> properties,
SolrResourceLoader loader,
SolrCloudManager cloudManager) |
TriggerBase(TriggerEventType eventType,
String name,
Map<String,Object> properties,
SolrResourceLoader loader,
SolrCloudManager cloudManager) |
TriggerFactoryImpl(SolrResourceLoader loader,
SolrCloudManager dataProvider) |
Modifier and Type | Field and Description |
---|---|
protected SolrResourceLoader |
NodeConfig.loader |
protected SolrResourceLoader |
CoreContainer.loader |
protected SolrResourceLoader |
ConfigSetService.parentLoader |
Modifier and Type | Method and Description |
---|---|
protected abstract SolrResourceLoader |
ConfigSetService.createCoreResourceLoader(CoreDescriptor cd)
Create a SolrResourceLoader for a core
|
SolrResourceLoader |
ConfigSetService.Default.createCoreResourceLoader(CoreDescriptor cd) |
SolrResourceLoader |
SolrCore.getResourceLoader()
The SolrResourceLoader used to load all resources for this core.
|
SolrResourceLoader |
Config.getResourceLoader() |
SolrResourceLoader |
CoreContainer.getResourceLoader() |
SolrResourceLoader |
NodeConfig.getSolrResourceLoader() |
Modifier and Type | Method and Description |
---|---|
protected NamedList |
ConfigSetService.createConfigSetProperties(CoreDescriptor cd,
SolrResourceLoader loader)
Return the ConfigSet properties
|
static ConfigSetService |
ConfigSetService.createConfigSetService(NodeConfig nodeConfig,
SolrResourceLoader loader,
ZkController zkController) |
protected SolrConfig |
ConfigSetService.createSolrConfig(CoreDescriptor cd,
SolrResourceLoader loader)
Create a SolrConfig object for a core
|
static NodeConfig |
SolrXmlConfig.fromFile(SolrResourceLoader loader,
Path configFile) |
static NodeConfig |
SolrXmlConfig.fromInputStream(SolrResourceLoader loader,
InputStream is) |
static NodeConfig |
SolrXmlConfig.fromSolrHome(SolrResourceLoader loader,
Path solrHome) |
static NodeConfig |
SolrXmlConfig.fromString(SolrResourceLoader loader,
String xml) |
static ConfigOverlay |
SolrConfig.getConfigOverlay(SolrResourceLoader loader) |
protected NamedList |
ConfigSetService.getConfigSetFlags(CoreDescriptor cd,
SolrResourceLoader loader) |
static RequestParams |
RequestParams.getFreshRequestParams(SolrResourceLoader loader,
RequestParams requestParams) |
static TransientSolrCoreCacheFactory |
TransientSolrCoreCacheFactory.newInstance(SolrResourceLoader loader,
CoreContainer coreContainer)
Create a new TransientSolrCoreCacheFactory instance
|
static void |
SolrResourceLoader.persistConfLocally(SolrResourceLoader loader,
String resourceName,
byte[] content) |
static SolrConfig |
SolrConfig.readFromResourceLoader(SolrResourceLoader loader,
String name) |
static NamedList |
ConfigSetProperties.readFromResourceLoader(SolrResourceLoader loader,
String name)
Return the properties associated with the ConfigSet (e.g.
|
Constructor and Description |
---|
Config(SolrResourceLoader loader,
String name)
Builds a config from a resource name with no xpath prefix.
|
Config(SolrResourceLoader loader,
String name,
Document doc) |
Config(SolrResourceLoader loader,
String name,
InputSource is,
String prefix) |
Config(SolrResourceLoader loader,
String name,
InputSource is,
String prefix,
boolean substituteProps)
Builds a config:
|
ConfigSetService(SolrResourceLoader loader)
Create a new ConfigSetService
|
CoreContainer(SolrResourceLoader loader)
Create a new CoreContainer using the given SolrResourceLoader.
|
Default(SolrResourceLoader loader,
Path configSetBase)
Create a new ConfigSetService.Default
|
MemClassLoader(List<PluginBag.RuntimeLib> libs,
SolrResourceLoader resourceLoader) |
NodeConfigBuilder(String nodeName,
SolrResourceLoader loader) |
SchemaCaching(SolrResourceLoader loader,
Path configSetBase) |
SolrConfig(SolrResourceLoader loader,
String name,
InputSource is)
Creates a configuration instance from a resource loader, a configuration name and a stream.
|
Modifier and Type | Method and Description |
---|---|
BackupRepository |
BackupRepositoryFactory.newInstance(SolrResourceLoader loader) |
BackupRepository |
BackupRepositoryFactory.newInstance(SolrResourceLoader loader,
String name) |
Modifier and Type | Method and Description |
---|---|
static ShardHandlerFactory |
ShardHandlerFactory.newInstance(PluginInfo info,
SolrResourceLoader loader)
Create a new ShardHandlerFactory instance
|
Modifier and Type | Field and Description |
---|---|
protected SolrResourceLoader |
MergePolicyFactory.resourceLoader |
Modifier and Type | Method and Description |
---|---|
static LogWatcher |
LogWatcher.newRegisteredLogWatcher(LogWatcherConfig config,
SolrResourceLoader loader)
Create and register a LogWatcher.
|
Modifier and Type | Method and Description |
---|---|
static com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Counter> |
MetricSuppliers.counterSupplier(SolrResourceLoader loader,
PluginInfo info)
Create a
Counter supplier. |
static com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Histogram> |
MetricSuppliers.histogramSupplier(SolrResourceLoader loader,
PluginInfo info)
Create a
Histogram supplier. |
void |
SolrMetricManager.loadReporter(String registry,
SolrResourceLoader loader,
CoreContainer coreContainer,
SolrCore solrCore,
PluginInfo pluginInfo,
String tag)
Create and register an instance of
SolrMetricReporter . |
void |
SolrMetricManager.loadReporters(PluginInfo[] pluginInfos,
SolrResourceLoader loader,
CoreContainer coreContainer,
SolrCore solrCore,
String tag,
SolrInfoBean.Group group,
String... registryNames)
Create and register
SolrMetricReporter -s specific to a SolrInfoBean.Group . |
static com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Meter> |
MetricSuppliers.meterSupplier(SolrResourceLoader loader,
PluginInfo info)
Create a
Meter supplier. |
static com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Timer> |
MetricSuppliers.timerSupplier(SolrResourceLoader loader,
PluginInfo info)
Create a
Timer supplier. |
Constructor and Description |
---|
DefaultHistogramSupplier(SolrResourceLoader loader) |
DefaultTimerSupplier(SolrResourceLoader loader) |
SolrMetricManager(SolrResourceLoader loader,
MetricsConfig metricsConfig) |
Modifier and Type | Field and Description |
---|---|
protected SolrResourceLoader |
ManagedResourceStorage.loader |
protected SolrResourceLoader |
RestManager.loader |
protected SolrResourceLoader |
ManagedResource.solrResourceLoader |
Modifier and Type | Method and Description |
---|---|
SolrResourceLoader |
ManagedResource.getResourceLoader()
Returns the resource loader used by this resource.
|
SolrResourceLoader |
ManagedResourceStorage.getResourceLoader()
Returns the resource loader used by this storage instance
|
Modifier and Type | Method and Description |
---|---|
void |
ManagedResourceStorage.StorageIO.configure(SolrResourceLoader loader,
NamedList<String> initArgs) |
void |
ManagedResourceStorage.FileStorageIO.configure(SolrResourceLoader loader,
NamedList<String> initArgs) |
void |
ManagedResourceStorage.ZooKeeperStorageIO.configure(SolrResourceLoader loader,
NamedList<String> initArgs) |
void |
ManagedResourceStorage.InMemoryStorageIO.configure(SolrResourceLoader loader,
NamedList<String> initArgs) |
protected ManagedResourceStorage |
ManagedResource.createStorage(ManagedResourceStorage.StorageIO storageIO,
SolrResourceLoader loader)
Potential extension point allowing concrete implementations to supply their own storage
implementation.
|
void |
RestManager.init(SolrResourceLoader loader,
NamedList<String> initArgs,
ManagedResourceStorage.StorageIO storageIO)
Initializes the RestManager with the storageIO being optionally created outside of this implementation
such as to use ZooKeeper instead of the local FS.
|
static ManagedResourceStorage.StorageIO |
ManagedResourceStorage.newStorageIO(String collection,
SolrResourceLoader resourceLoader,
NamedList<String> initArgs)
Creates a new StorageIO instance for a Solr core, taking into account
whether the core is running in cloud mode as well as initArgs.
|
Constructor and Description |
---|
JsonStorage(ManagedResourceStorage.StorageIO storageIO,
SolrResourceLoader loader) |
ManagedResource(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO)
Initializes this managed resource, including setting up JSON-based storage using
the provided storageIO implementation, such as ZK.
|
ManagedResourceStorage(ManagedResourceStorage.StorageIO storageIO,
SolrResourceLoader loader) |
Constructor and Description |
---|
ManagedWordSetResource(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
SynonymManager(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
SynonymManager(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
Modifier and Type | Field and Description |
---|---|
protected SolrResourceLoader |
IndexSchema.loader |
Modifier and Type | Method and Description |
---|---|
SolrResourceLoader |
ManagedIndexSchemaFactory.getResourceLoader() |
SolrResourceLoader |
IndexSchema.getResourceLoader() |
Modifier and Type | Method and Description |
---|---|
protected FieldType |
FieldTypePluginLoader.create(SolrResourceLoader loader,
String name,
String className,
Node node) |
Constructor and Description |
---|
IndexSchema(SolrConfig solrConfig,
SolrResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
static FieldMutatingUpdateProcessor.FieldNameSelector |
FieldMutatingUpdateProcessor.createFieldNameSelector(SolrResourceLoader loader,
IndexSchema schema,
FieldMutatingUpdateProcessorFactory.SelectorParams params,
FieldMutatingUpdateProcessor.FieldNameSelector defSelector)
Utility method that can be used to define a FieldNameSelector
using the same types of rules as the FieldMutatingUpdateProcessor init
code.
|
static FieldMutatingUpdateProcessor.FieldNameSelector |
FieldMutatingUpdateProcessor.createFieldNameSelector(SolrResourceLoader loader,
SolrCore core,
FieldMutatingUpdateProcessorFactory.SelectorParams params,
FieldMutatingUpdateProcessor.FieldNameSelector defSelector)
Utility method that can be used to define a FieldNameSelector
using the same types of rules as the FieldMutatingUpdateProcessor init
code.
|
Modifier and Type | Method and Description |
---|---|
protected T |
AbstractPluginLoader.create(SolrResourceLoader loader,
String name,
String className,
Node node)
Create a plugin from an XML configuration.
|
T |
AbstractPluginLoader.load(SolrResourceLoader loader,
NodeList nodes)
Initializes and registers each plugin in the list.
|
T |
AbstractPluginLoader.loadSingle(SolrResourceLoader loader,
Node node)
Initializes and registers a single plugin.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.