https://www.imooc.com/learn/889
场景:
1、海量数据分析引擎
2、站内搜索引擎
3、数据仓库
跨域处理
#开启跨域访问支持,默认为false
http.cors.enabled: true
#跨域访问允许的域名地址,(允许所有域名)以上使用正则
http.cors.allow-origin: /.*/
分别启动elasticsearch和elastic search-head
启动后的界面:
若是es的前台运行,则用ctrl + c来停止。
若是es的后台运行,则用kill -9 进程号来停止。
分布式多实例安装:
集群:master slave01 slave02
master 修改配置:
slave配置:
同样操作slave2
索引、文档、类型、列