ElasticSearch 下载与安装

ElasticSearch :存储和检索

​ - 安装ik分词器,进行中文分词

ElasticSearch-head:可视化数据的页面

Kibana:针对ES的可视化平台,用来搜索交互存储,可动态生成数据图表

​ 注意:版本需要一致

1, ElasticSearch安装

下载地址:https://www.elastic.co/cn/downloads/elasticsearch

# 启动ElasticSearch
cd bin/
elasticsearch.bat
  • 访问:http://localhost:9200/

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-gl9vbg8L-1618304063036)(C:\Users\澈\AppData\Roaming\Typora\typora-user-images\image-20210413164549730.png)]

1.1 解决es-head跨域问题
# 在config/elasticsearch.yml尾部添加
http.cors.enabled: true 
http.cors.allow-origin: "*"
1.2 安装ik分词器

提供两种分词算法:

​ ik_smart : 最少切分

​ ik_max_word : 最细力度划分

下载地址:https://github.com/medcl/elasticsearch-analysis-ik

  • 将下载解压好的ik分词器放入elasticsearch/plugins目录下即可

在这里插入图片描述

2, ElasticSearch-head安装

下载地址:https://github.com/mobz/elasticsearch-head

# 项目初始化并启动
cd elasticsearch-head
npm install
npm run start
  • 访问:http://localhost:9100/

在这里插入图片描述

3, Kibana安装

下载地址:https://www.elastic.co/cn/downloads/kibana

# 启动Kibana
cd bin/
kibana.bat
  • 访问:http://localhost:5601/
    在这里插入图片描述
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值