Package org.apache.solr.api
Commonly used classes for Solr V2 API.
-
Interface Summary Interface Description ApiSupport The interface that is implemented by a request handler to support the V2 end pointClusterPluginsSource A source for Cluster Plugin configurationsConfigurablePlugin<T extends org.apache.solr.common.MapWriter> Implement this interface if your plugin needs to accept some configurationContainerPluginsRegistry.PluginRegistryListener Listener for notifications about added / deleted / modified plugins. -
Class Summary Class Description AnnotatedApi This class implements an Api just from an annotated java class The class must have an annotationEndPoint
Each method must have an annotationCommand
The methods that implement a command should have the first 2 parametersSolrQueryRequest
andSolrQueryResponse
or it may optionally have a third parameter which could be a java class annotated with jackson annotations.Api Every version 2 API must extend the this class.ApiBag ApiBag.IntrospectApi ApiBag.LazyLoadedApi ApiBag.ReqHandlerToApi ContainerPluginsRegistry This class manages the container-level plugins and their Api-s.CoordinatorV2HttpSolrCall JerseyResource A marker parent type for all Jersey "resource" classes.NodeConfigClusterPluginsSource Plugin configurations that are defined in solr.xml.PayloadObj<T> Holds the deserialized object for each command and also holds request , response objectsV2HttpCall V2HttpCall.CompositeApi ZkClusterPluginsSource The plugin configurations are stored and retrieved from the ZooKeeper cluster properties, stored at theZkStateReader.CONTAINER_PLUGINS
location This supports mutable configurations, and management via the /cluster/plugin APIs -
Enum Summary Enum Description ContainerPluginsRegistry.Diff -
Exception Summary Exception Description ApiBag.ExceptionWithErrObject -
Annotation Types Summary Annotation Type Description Command EndPoint