Elasticsearch 5.0 使用ES的基本都会使用过head,但是版本升级到5.0后,head插件就不好使了.下面就看看如何在5.0中启动Head插件吧! 官方粗略教程 Running with built in server enable cors by adding http.cors.enabled: true in elasticsearch configuration. Don't forget to also set http.cors.allow-origin becaus…