我尝试在 elasticsearch.yaml 文件中提供以下配置
network.host: aa.bbb.ccc.dd
那是我的 IPv4 地址和http.port: 9200
当我尝试在我的 windows 机器上运行 elasticsearch.bat 时,对此的响应如下:
the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
我真的不太确定要为集群初始化配置什么。默认值为 discovery.seed_hosts: ["host1", "host2"]
和cluster.initial_master_nodes: ["node-1", "node-2"]