Package org.apache.solr.handler.admin
Class AdminHandlersProxy
java.lang.Object
org.apache.solr.handler.admin.AdminHandlersProxy
Static methods to proxy calls to an Admin (GET) API to other nodes in the cluster and return a
combined response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<org.apache.solr.common.util.NamedList<Object>> callRemoteNode(String nodeName, String uriPath, org.apache.solr.common.params.SolrParams params, ZkController zkController) Makes a remote request asynchronously.static booleanmaybeProxyToNodes(SolrQueryRequest req, SolrQueryResponse rsp, CoreContainer container) Proxy this request to a different remote node if 'node' or 'nodes' parameter is provided
-
Constructor Details
-
AdminHandlersProxy
public AdminHandlersProxy()
-
-
Method Details
-
maybeProxyToNodes
public static boolean maybeProxyToNodes(SolrQueryRequest req, SolrQueryResponse rsp, CoreContainer container) throws IOException, org.apache.solr.client.solrj.SolrServerException, InterruptedException Proxy this request to a different remote node if 'node' or 'nodes' parameter is provided- Throws:
IOExceptionorg.apache.solr.client.solrj.SolrServerExceptionInterruptedException
-
callRemoteNode
public static CompletableFuture<org.apache.solr.common.util.NamedList<Object>> callRemoteNode(String nodeName, String uriPath, org.apache.solr.common.params.SolrParams params, ZkController zkController) Makes a remote request asynchronously.
-