我尝试在 elasticsearch.yaml 文件中提供以下配置
那是我的 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"]