public class SolrConfigHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
PermissionNameProvider.Name
SolrInfoMBean.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, 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
|
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) |
Lock |
getReloadLock() |
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, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 static void setWt(SolrQueryRequest req, String wt)
public SolrRequestHandler getSubHandler(String path)
NestedRequestHandler
getSubHandler
in interface NestedRequestHandler
getSubHandler
in class RequestHandlerBase
public String getDescription()
SolrInfoMBean
getDescription
in interface SolrInfoMBean
getDescription
in class RequestHandlerBase
public String getVersion()
SolrInfoMBean
getVersion
in interface SolrInfoMBean
getVersion
in class RequestHandlerBase
public SolrInfoMBean.Category getCategory()
SolrInfoMBean
getCategory
in interface SolrInfoMBean
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.