Package org.apache.solr.api
package org.apache.solr.api
Commonly used classes for Solr V2 API.
-
ClassDescriptionThis class implements an Api just from an annotated java class The class must have an annotation
EndPointEach method must have an annotationCommandThe methods that implement a command should have the first 2 parametersSolrQueryRequestandSolrQueryResponseor it may optionally have a third parameter which could be a java class annotated with jackson annotations.Every version 2 API must extend the this class.The interface that is implemented by a request handler to support the V2 end pointA source for Cluster Plugin configurationsConfigurablePlugin<T extends org.apache.solr.common.MapWriter>Implement this interface if your plugin needs to accept some configurationThis class manages the container-level plugins and their Api-s.Listener for notifications about added / deleted / modified plugins.A marker parent type for all Jersey "resource" classes.Plugin configurations that are defined in solr.xml.PayloadObj<T>Holds the deserialized object for each command and also holds request , response objectsThe plugin configurations are stored and retrieved from the ZooKeeper cluster properties, stored at theZkStateReader.CONTAINER_PLUGINSlocation This supports mutable configurations, and management via the /cluster/plugin APIs