public class SolrConfigHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
PermissionNameProvider.NameSolrInfoMBean.Category, SolrInfoMBean.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, invariantsANY, NULL, valuesTYPE| 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
|
SolrInfoMBean.Category |
getCategory()
Purpose of this Class
|
String |
getDescription()
Simple one or two line description
|
static boolean |
getImmutable(SolrCore core) |
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext ctx) |
SolrRequestHandler |
getSubHandler(String path)
Return a RequestHandler to handle a subpath from the path this handler is registered.
|
String |
getVersion()
Simple common usage version, e.g.
|
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 void |
setWt(SolrQueryRequest req,
String wt) |
static String |
validateName(String s) |
getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, handleRequest, init, initializeMetrics, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterV1public 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 void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic void inform(SolrCore core)
inform in interface SolrCoreAwarepublic static boolean getImmutable(SolrCore core)
public static void setWt(SolrQueryRequest req, String wt)
public SolrRequestHandler getSubHandler(String path)
NestedRequestHandlergetSubHandler in interface NestedRequestHandlergetSubHandler in class RequestHandlerBasepublic String getDescription()
SolrInfoMBeangetDescription in interface SolrInfoMBeangetDescription in class RequestHandlerBasepublic String getVersion()
SolrInfoMBeangetVersion in interface SolrInfoMBeangetVersion in class RequestHandlerBasepublic SolrInfoMBean.Category getCategory()
SolrInfoMBeangetCategory in interface SolrInfoMBeangetCategory in class RequestHandlerBasepublic static List<String> getActiveReplicaCoreUrls(ZkController zkController, String collection)
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
getPermissionName in interface PermissionNameProviderpublic Collection<Api> getApis()
ApiSupportgetApis in interface ApiSupportgetApis in class RequestHandlerBasepublic Boolean registerV2()
ApiSupportregisterV2 in interface ApiSupportCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.