Package org.apache.solr.handler
Class ClusterAPI
java.lang.Object
org.apache.solr.handler.ClusterAPI
All V2 APIs that have a prefix of /api/cluster/
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidgetNodes(SolrQueryRequest req, SolrQueryResponse rsp) getNodesByRole(NodeRoles.Role role, String mode, org.apache.solr.client.solrj.cloud.DistribStateManager zk) voidvoidnodesWithRole(SolrQueryRequest req, SolrQueryResponse rsp) voidvoidroles(SolrQueryRequest req, SolrQueryResponse rsp) voidrolesForNode(SolrQueryRequest req, SolrQueryResponse rsp) voidsupportedRoles(SolrQueryRequest req, SolrQueryResponse rsp) static SolrQueryRequestwrapParams(SolrQueryRequest req, Object... def) static SolrQueryRequestwrapParams(SolrQueryRequest req, Map<String, Object> m)
-
Field Details
-
commands
-
-
Constructor Details
-
ClusterAPI
-
-
Method Details
-
roles
- Throws:
Exception
-
nodesWithRole
- Throws:
Exception
-
rolesForNode
- Throws:
Exception
-
supportedRoles
- Throws:
Exception
-
nodesWithRoleMode
- 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:
InterruptedExceptionIOExceptionorg.apache.zookeeper.KeeperException
-
getOverseerStatus
- Throws:
Exception
-
deleteCommandStatus
- Throws:
Exception
-
flushCommandStatus
- Throws:
Exception
-
wrapParams
-
wrapParams
-
getCommandStatus
- Throws:
Exception
-
getNodes
-
getClusterStatus
- Throws:
Exception
-