安装elasticsearch

brew install elastic/tap/elasticsearch-full

安装kibana

 brew install elastic/tap/kibana-full 
 brew start kibana-full

访问kibana
http://localhost:5601/


安装中文分词

 /usr/local/Cellar/elasticsearch-full/7.17.1/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.17.1/elasticsearch-analysis-ik-7.17.1.zip