Package | Description |
---|---|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
org.apache.solr.core |
Core classes implementin Solr internals and the management of
SolrCore s |
org.apache.solr.handler |
Concrete implementations of
SolrRequestHandler |
org.apache.solr.handler.admin |
SolrRequestHandler implementations for powering he Solr Admin UI |
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
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 |
APIs and classes for managing index updates
|
org.apache.solr.util |
Common utility classes used throughout Solr
|
Modifier and Type | Class and Description |
---|---|
static class |
CloudSolrClient.RouteException |
static class |
HttpSolrClient.RemoteSolrException
Subclass of SolrException that allows us to capture an arbitrary HTTP
status code that may have been returned by the remote server or a
proxy along the way.
|
Modifier and Type | Method and Description |
---|---|
protected DocCollection |
CloudSolrClient.getDocCollection(ClusterState clusterState,
String collection,
Integer expectedVersion) |
Modifier and Type | Class and Description |
---|---|
static class |
ZkController.ResourceModifiedInZkException |
Modifier and Type | Class and Description |
---|---|
class |
ZooKeeperException |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
NamedList.removeConfigArgs(String name)
Used for getting one or many arguments from NamedList objects that hold
configuration parameters.
|
Modifier and Type | Field and Description |
---|---|
protected SolrException |
PluginBag.LazyPluginHolder.solrException |
Modifier and Type | Method and Description |
---|---|
protected RestManager |
SolrCore.initRestManager()
Creates and initializes a RestManager based on configuration args in solrconfig.xml.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PingRequestHandler.handleEnable(boolean enable) |
Modifier and Type | Method and Description |
---|---|
protected void |
CoreAdminHandler.handleCreateAction(SolrQueryRequest req,
SolrQueryResponse rsp)
Handle 'CREATE' action.
|
protected void |
CoreAdminHandler.handlePersistAction(SolrQueryRequest req,
SolrQueryResponse rsp)
Handler "PERSIST" action
|
protected void |
CoreAdminHandler.handleRenameAction(SolrQueryRequest req,
SolrQueryResponse rsp)
Handle "RENAME" Action
|
protected void |
CoreAdminHandler.handleStatusAction(SolrQueryRequest req,
SolrQueryResponse rsp)
Handle "STATUS" action
|
protected void |
CoreAdminHandler.handleUnloadAction(SolrQueryRequest req,
SolrQueryResponse rsp)
Handle "UNLOAD" Action
|
Modifier and Type | Method and Description |
---|---|
static StatsField.HllOptions |
StatsField.HllOptions.parseHllOptions(SolrParams localParams,
SchemaField field)
Creates an HllOptions based on the (local) params specified (if appropriate).
|
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 ManagedResource |
RestManager.createManagedResource(org.apache.solr.rest.RestManager.ManagedResourceRegistration reg)
Creates a ManagedResource using registration information.
|
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.
|
void |
ManagedResource.loadManagedDataAndNotify(List<ManagedResourceObserver> observers)
Called once during core initialization to get the managed
data loaded from storage and notify observers.
|
protected void |
ManagedResource.notifyObserversDuringInit(NamedList<?> args,
List<ManagedResourceObserver> observers)
Notifies all registered observers that the ManagedResource is initialized.
|
protected abstract void |
ManagedResource.onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs,
Object managedData)
Method called after data has been loaded from storage to give the concrete
implementation a chance to post-process the data.
|
void |
ManagedResourceObserver.onManagedResourceInitialized(NamedList<?> args,
ManagedResource res)
Event notification raised once during core initialization to notify
listeners that a ManagedResource is fully initialized.
|
protected Object |
ManagedResource.processStoredData(Object data)
Processes the stored data.
|
protected void |
ManagedResource.reloadFromStorage()
Invoked when this object determines it needs to reload the stored data.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ManagedSynonymFilterFactory.SynonymManager.onManagedDataLoadedFromStorage(NamedList<?> managedInitArgs,
Object managedData) |
protected void |
ManagedWordSetResource.onManagedDataLoadedFromStorage(NamedList<?> initArgs,
Object data)
Invoked when loading data from storage to initialize the
list of words managed by this instance.
|
void |
ManagedSynonymFilterFactory.onManagedResourceInitialized(NamedList<?> initArgs,
ManagedResource res)
Called once, during core initialization, to initialize any analysis components
that depend on the data managed by this resource.
|
void |
ManagedStopFilterFactory.onManagedResourceInitialized(NamedList<?> args,
ManagedResource res)
Callback invoked by the
ManagedResource instance to trigger this
class to create the CharArraySet used to create the StopFilter using the
wordset managed by ManagedWordSetResource . |
Constructor and Description |
---|
ManagedWordSetResource(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
SynonymManager(String resourceId,
SolrResourceLoader loader,
ManagedResourceStorage.StorageIO storageIO) |
Modifier and Type | Class and Description |
---|---|
class |
ManagedIndexSchema.FieldExistsException |
class |
ManagedIndexSchema.SchemaChangedInZkException |
Modifier and Type | Method and Description |
---|---|
void |
SchemaField.checkFieldCacheSource(QParser parser)
Sanity checks that the properties of this field type are plausible
for a field that may be used to get a FieldCacheSource, throwing
an appropriate exception (including the field name) if it is not.
|
void |
CurrencyField.checkSchemaField(SchemaField field) |
void |
SchemaField.checkSortability()
Sanity checks that the properties of this field type are plausible
for a field that may be used in sorting, throwing an appropriate
exception (including the field name) if it is not.
|
double |
ExchangeRateProvider.getExchangeRate(String sourceCurrencyCode,
String targetCurrencyCode)
Get the exchange rate betwen the two given currencies
|
void |
OpenExchangeRatesOrgProvider.inform(org.apache.lucene.analysis.util.ResourceLoader loader) |
void |
ExchangeRateProvider.inform(org.apache.lucene.analysis.util.ResourceLoader loader)
Passes a ResourceLoader, used to read config files from e.g.
|
void |
OpenExchangeRatesOrgProvider.init(Map<String,String> params) |
static String[] |
PointType.parseCommaSeparatedList(String externalVal,
int dimension)
Given a string containing dimension values encoded in it, separated by commas,
return a String array of length dimension containing the values.
|
boolean |
OpenExchangeRatesOrgProvider.reload() |
boolean |
ExchangeRateProvider.reload()
Ask the currency provider to explicitly reload/refresh its configuration.
|
Modifier and Type | Method and Description |
---|---|
static SchemaField |
VersionInfo.getAndCheckVersionField(IndexSchema schema)
Gets and returns the
VersionInfo.VERSION_FIELD from the specified
schema, after verifying that it is indexed, stored, and single-valued. |
Modifier and Type | Method and Description |
---|---|
static com.spatial4j.core.shape.Point |
SpatialUtils.parsePointSolrException(String externalVal,
com.spatial4j.core.context.SpatialContext ctx)
Calls
SpatialUtils.parsePoint(String, com.spatial4j.core.context.SpatialContext) and wraps
the exception with SolrException with a helpful message. |
static com.spatial4j.core.shape.Rectangle |
SpatialUtils.parseRectangeSolrException(String externalVal,
com.spatial4j.core.context.SpatialContext ctx)
Calls
SpatialUtils.parseRectangle(String, com.spatial4j.core.context.SpatialContext) and wraps the exception with
SolrException with a helpful message. |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.