馬哥Python運(yùn)維自動(dòng)化與DevOps項(xiàng)目特訓(xùn)班2022
.source(JSONValue.toJSONString(u),XContentType.JSON));?}?BulkResponse?bulkResponse=restHighLevelClient.bulk(bulkRequest,RequestOptions.DEFAULT);?System.out.println(bulkResponse.hasFailures());//是否執(zhí)行失敗,false為執(zhí)行成功
標(biāo)簽: