Package org.apache.solr.handler
Class ClusterAPI
- java.lang.Object
-
- org.apache.solr.handler.ClusterAPI
-
public class ClusterAPI extends Object
All V2 APIs that have a prefix of /api/cluster/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ClusterAPI.Commands
static class
ClusterAPI.RoleInfo
-
Field Summary
Fields Modifier and Type Field Description ClusterAPI.Commands
commands
-
Constructor Summary
Constructors Constructor Description ClusterAPI(CollectionsHandler ch, ConfigSetsHandler configSetsHandler)
-
Method Summary
-
-
-
Field Detail
-
commands
public final ClusterAPI.Commands commands
-
-
Constructor Detail
-
ClusterAPI
public ClusterAPI(CollectionsHandler ch, ConfigSetsHandler configSetsHandler)
-
-
Method Detail
-
roles
public void roles(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
nodesWithRole
public void nodesWithRole(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
rolesForNode
public void rolesForNode(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
supportedRoles
public void supportedRoles(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
nodesWithRoleMode
public void nodesWithRoleMode(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
getNodesByRole
public static List<String> getNodesByRole(NodeRoles.Role role, String mode, org.apache.solr.client.solrj.cloud.DistribStateManager zk) throws InterruptedException, IOException, org.apache.zookeeper.KeeperException
- Throws:
InterruptedException
IOException
org.apache.zookeeper.KeeperException
-
aliases
public void aliases(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
getOverseerStatus
public void getOverseerStatus(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
getCluster
public void getCluster(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
deleteCommandStatus
public void deleteCommandStatus(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
flushCommandStatus
public void flushCommandStatus(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
wrapParams
public static SolrQueryRequest wrapParams(SolrQueryRequest req, Object... def)
-
wrapParams
public static SolrQueryRequest wrapParams(SolrQueryRequest req, Map<String,Object> m)
-
getCommandStatus
public void getCommandStatus(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
getNodes
public void getNodes(SolrQueryRequest req, SolrQueryResponse rsp)
-
-