志目錄,默認/var/log/elasticsearch
數據目錄,默認/var/lib/elasticsearch
配置文件目錄,默認 /etc/elasticsearch
查看分詞 curl -XGET 'localhost:8027/db_test/_analyze?analyzer=ik_analyzer' -d '
{
"text" : "小兒復方"
}'
head查看分詞 _analyze?text=我呀呀&analyzer=ik_analyzer&pretty
查看分詞數量 curl -XGET 'localhost:9280/db_erp/pm/_count'
創建 索引 curl -XPUT 'localhost:9280/db_erp'
ES 關鍵字解釋 http://blog.csdn.net/i6448038/article/details/50625397