使用 RestHighLevelClient 连接 es 集群报错 Request cannot be executed; I/O reactor status: STOPPED


(秋明本) #1

连接集群的代码如下:


在启动完成之后,查询某索引就会报错,查询的关键代码如下:
SearchResponse searchResponse = client.search(searchRequest, RequestOptions.DEFAULT);
这是报错:


(system) closed #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.