(1)下载es 5.3.0:
nohup wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.0.zip > wget.log 2>&1 &
解压后: ./bin/elasticsearch
(2) elasticsearch-jieba-plugin:
https://github.com/sing1ee/elasticsearch-jieba-plugin/releases/tag/v5.3.0
在jieba项目里执行gradle pz build 项目
找到jieba项目--build目录下的jieba的zip包(这里注意是zip包)
把jieba的zip包复制到elasticsearch-5.3.0\plugins目录下解压,解压后删除压缩包
启动ElasticSearch,搞定
#
查询集群状态:curl -XGET localhost:9200/_cluster/health?pretty
插入数据:
(0)查