UncategorizedExecutionException[Failed execution]; nested: IOException[Connection is closed] - ElasticSearch
问题 I am running the reindex using the Java client from 5.5 to 7.8 ReindexRequestBuilder reIndexRequest = new ReindexRequestBuilder(client, ReindexAction.INSTANCE); // Basic configuration reIndexRequest.source(indexObject.getSourceIndex()); reIndexRequest.destination(indexObject.getDestinationIndex()); if (reIndex.getMaxretry() != 0) { reIndexRequest.setMaxRetries(reIndex.getMaxretry()); } // OpType if (!CommonUtils.isEmpty(reIndex.getOptype())) { reIndexRequest.request().setDestOpType(reIndex