<!-- 使用elasticsearch 需要导入两个包,从网上复制的可能因为有特殊字符报 cvc-complex-type.2.3: Element 'dependency' cannot have character [children], because the type's content type is element-only. 错误,只需要自己重新排版即可 --> <dependency> <groupId>org.elasticsearch.client
使用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 because no origin allowe