Elasticsearch在win10上出现的问题及解决方案
一、在elasticsearch.yml中需要添加的数据(主要为页面可能存在的跨域问题):
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
node.name: node-1
cluster.initial_master_nodes: ["node-1"]
xpack.ml.enabled: false
http.cors.enabled: true
http.cors.allow-origin: "*"
#
# ---------------------------------- Security ----------------------------------
二、在plugin-descriptor.properties中需要在最后添加elasticsearch的版本号(需要与elasticsearch的版本号相对应)
elasticsearch.version=7.17.2