public class SearchHandler extends RequestHandlerBase implements SolrCoreAware, PluginInfoInitialized, PermissionNameProvider
PermissionNameProvider.Name
SolrInfoMBean.Category, SolrInfoMBean.Group
Modifier and Type | Field and Description |
---|---|
protected List<SearchComponent> |
components |
appends, defaults, httpCaching, initArgs, invariants
ANY, NULL, values
TYPE
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
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext ctx) |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core)
Initialize the components based on name.
|
void |
init(PluginInfo info) |
Boolean |
registerV2()
Whether this request handler must be made available at the /v2/ path
|
getApis, getCategory, getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, getSubHandler, getVersion, handleRequest, init, initializeMetrics, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerV1
protected volatile List<SearchComponent> components
public void init(PluginInfo info)
init
in interface PluginInfoInitialized
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
getPermissionName
in interface PermissionNameProvider
public 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 SolrCoreAware
public List<SearchComponent> getComponents()
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public String getDescription()
SolrInfoMBean
getDescription
in interface SolrInfoMBean
getDescription
in class RequestHandlerBase
public Boolean registerV2()
ApiSupport
registerV2
in interface ApiSupport
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.