elasticsearch 6.2中局部区域上的弹性节点
如何在我的junit测试中启动localhost elasticsearch节点,并使用高级rest客户端(elasticsearch 6.2.) 这是我试过的代码elasticsearch 6.2中局部区域上的弹性节点,elasticsearch,junit,elasticsearch-6,elasticsearch,Junit,Elasticsearch 6,如何在我的junit测试中启动localhost elasticsearch节点,并使用高级rest客户端(elasticsearch 6.2.) 这是我试过的代码 String clusterName = "test"; Settings settings = Settings.builder() .put("path.home", ES_WORKING_DIR) .build(); new Node(settings).start(); 错误是 java.l
String clusterName = "test";
Settings settings = Settings.builder()
.put("path.home", ES_WORKING_DIR)
.build();
new Node(settings).start();
错误是
java.lang.IllegalStateException:不再支持不受支持的transport.type[]嵌入式Elasticsearch节点。 你可以在这里阅读更多细节 顺便说一句,如果您仍然想拥有该功能(例如,运行组件集成测试),那么一些第三方库可能会支持您: