Package org.apache.solr.rest
Solr RESTful APIs.
-
Interface Summary Interface Description ManagedResource.ChildResourceSupport Marker interface to indicate a ManagedResource implementation class also supports managing child resources at path: /<resource>/{child}ManagedResourceObserver Allows a Solr component to register as an observer of important ManagedResource events, such as when the managed data is loaded.ManagedResourceStorage.StorageIO Hides the underlying storage implementation for data being managed by a ManagedResource. -
Class Summary Class Description BaseSolrResource Base class for delegating REST-oriented requests to ManagedResources.ManagedResource Supports Solr components that have external data that needs to be managed using the REST API.ManagedResourceStorage Abstract base class that provides most of the functionality needed to store arbitrary data for managed resources.ManagedResourceStorage.FileStorageIO Local file-based storage implementation.ManagedResourceStorage.InMemoryStorageIO Memory-backed storage IO; not really intended for storage large amounts of data in production, but useful for testing and other transient workloads.ManagedResourceStorage.JsonStorage Default storage implementation that uses JSON as the storage format for managed data.ManagedResourceStorage.ZooKeeperStorageIO ZooKeeper based storage implementation that uses the SolrZkClient provided by the CoreContainer.RestManager Supports runtime mapping of REST API endpoints to ManagedResource implementations; endpoints can be registered at either the /schema or /config base paths, depending on which base path is more appropriate for the type of managed resource.RestManager.ManagedEndpoint Request handling needs a lightweight object to delegate a request to.RestManager.Registry Per-core registry of ManagedResources found during core initialization.