public class SearchHandler extends RequestHandlerBase implements SolrCoreAware, PluginInfoInitialized
SolrInfoMBean.Category| Modifier and Type | Field and Description |
|---|---|
protected List<SearchComponent> |
components |
protected static org.slf4j.Logger |
log |
appends, defaults, httpCaching, initArgs, invariants| Constructor and Description |
|---|
SearchHandler() |
| Modifier and Type | Method and Description |
|---|---|
List<SearchComponent> |
getComponents() |
protected List<String> |
getDefaultComponents() |
String |
getDescription()
Simple one or two line description
|
String |
getSource()
CVS Source, SVN Source, etc
|
String |
getSourceId()
CVS Id, SVN Id, etc
|
String |
getVersion()
Simple common usage version, e.g. 2.0
|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core)
Initialize the components based on name.
|
void |
init(PluginInfo info) |
getCategory, getDocs, getInitArgs, getName, getStatistics, handleRequest, initprotected static org.slf4j.Logger log
protected List<SearchComponent> components
public void init(PluginInfo info)
init in interface PluginInfoInitializedpublic void inform(SolrCore core)
INIT_FIRST_COMPONENTS or INIT_LAST_COMPONENTS,
then the DebugComponent will always occur last. If this is not desired, then one must explicitly declare all components using
the INIT_COMPONENTS syntax.inform in interface SolrCoreAwarepublic List<SearchComponent> getComponents()
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception, ParseException, InstantiationException, IllegalAccessException
handleRequestBody in class RequestHandlerBaseExceptionParseExceptionInstantiationExceptionIllegalAccessExceptionpublic String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeangetDescription in class RequestHandlerBasepublic String getVersion()
SolrInfoMBeangetVersion in interface SolrInfoMBeangetVersion in class RequestHandlerBasepublic String getSourceId()
SolrInfoMBeangetSourceId in interface SolrInfoMBeangetSourceId in class RequestHandlerBasepublic String getSource()
SolrInfoMBeangetSource in interface SolrInfoMBeangetSource in class RequestHandlerBase