Package org.apache.solr.rest
Solr RESTful APIs via Restlet.
-
Interface Summary Interface Description DELETEable Marker interface for resource classes that handle DELETE requests.GETable Marker interface for resource classes that handle GET requests.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.POSTable Marker interface for resource classes that handle POST requests.PUTable Marker interface for resource classes that handle PUT requests. -
Class Summary Class Description BaseSolrResource Base class of all Solr Restlet server resource classes.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 The Restlet router needs a lightweight extension of ServerResource to delegate a request to.RestManager.Registry Per-core registry of ManagedResources found during core initialization.SolrSchemaRestApi Restlet servlet handling /<context>/<collection>/schema/* URL paths