public static void waitForAsyncRequest(String requestId, SolrClient client, long timeout) throws SolrServerException, InterruptedException, IOException { requestStatus(requestId).waitFor(client, timeout); }
static CollectionAdminResponse getStatusResponse(String requestId, SolrClient client) throws SolrServerException, IOException { return CollectionAdminRequest.requestStatus(requestId).process(client); }