elastic search
启动
本地启动节点:
bin/elasticsearch -E node.name=node1 -E cluster.name=geektime -E path.data=node1_data -E http.port=9200 -d
启动两个node:
bin/elasticsearch -E node.name=node2 -E cluster.name=geektime -E path.data=node0_data -d
bin/elasticsearch -E node.name=node3 -E cluster.name=geektime -E path.data=node3_data -d
分词器
IK: https://github.com/medcl/elasticsearch-analysis-ik
清华大学THULAC:https://github.com/microbun/elasticsearch-thulac-plugin
cerebro
https://www.jishuwen.com/d/2ECR
后台执行:
nohup bin/cerebro &
网友评论