1、找到elasticsearch的安装目录,在config目录找到elasticsearch.yml,查看cluster.name的赋值

2、在SpringBoot的yml文件中,不仅要配置cluster-nodes,而且还需要配置cluster-name,而且cluster-name必须与elasticsearch.yml中一致

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-05-30
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-20
  • 2021-08-21
  • 2021-07-28
  • 2022-02-10
相关资源
相似解决方案