public class SolrConfigHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
PermissionNameProvider.Name
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Field and Description |
---|---|
static boolean |
configEditing_disabled |
static String |
CONFIGSET_EDITING_DISABLED_ARG |
static String |
CREATE |
static String |
SET |
static String |
SET_PROPERTY |
static String |
SET_USER_PROPERTY |
static String |
UNSET_PROPERTY |
static String |
UNSET_USER_PROPERTY |
static String |
UPDATE |
appends, defaults, httpCaching, initArgs, invariants
ANY, NULL, values
TYPE
Constructor and Description |
---|
SolrConfigHandler() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getActiveReplicaCoreUrls(ZkController zkController,
String collection) |
Collection<Api> |
getApis()
It is possible to support multiple v2 apis by a single requesthandler
|
SolrInfoBean.Category |
getCategory()
Category of this component
|
String |
getDescription()
Simple one or two line description
|
static boolean |
getImmutable(SolrCore core) |
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext ctx) |
Lock |
getReloadLock() |
SolrRequestHandler |
getSubHandler(String path)
Return a RequestHandler to handle a subpath from the path this handler is registered.
|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core) |
Boolean |
registerV2()
Whether this request handler must be made available at the /v2/ path
|
static String |
validateName(String s) |
getInitArgs, getMetricNames, getMetricRegistry, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricsSnapshot, registerMetricName
registerV1
public static final String CONFIGSET_EDITING_DISABLED_ARG
public static final boolean configEditing_disabled
public static final String SET_PROPERTY
public static final String UNSET_PROPERTY
public static final String SET_USER_PROPERTY
public static final String UNSET_USER_PROPERTY
public static final String SET
public static final String UPDATE
public static final String CREATE
public Lock getReloadLock()
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public void inform(SolrCore core)
inform
in interface SolrCoreAware
public static boolean getImmutable(SolrCore core)
public SolrRequestHandler getSubHandler(String path)
NestedRequestHandler
getSubHandler
in interface NestedRequestHandler
getSubHandler
in class RequestHandlerBase
public String getDescription()
SolrInfoBean
getDescription
in interface SolrInfoBean
getDescription
in class RequestHandlerBase
public SolrInfoBean.Category getCategory()
SolrInfoBean
getCategory
in interface SolrInfoBean
getCategory
in class RequestHandlerBase
public static List<String> getActiveReplicaCoreUrls(ZkController zkController, String collection)
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
getPermissionName
in interface PermissionNameProvider
public Collection<Api> getApis()
ApiSupport
getApis
in interface ApiSupport
getApis
in class RequestHandlerBase
public Boolean registerV2()
ApiSupport
registerV2
in interface ApiSupport
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.