Commit a67d0020 authored by 段英荣's avatar 段英荣

modify

parent 6b3d3e7e
......@@ -114,8 +114,9 @@ cp ./synonym.txt /srv/apps/elasticsearch/config/analysis/
cat $DICFILE > ./synonym.dic
cp ./synonym.dic /srv/apps/elasticsearch/plugins/analysis-ik/config/ik/custom/
rm -f /srv/apps/elasticsearch/config/analysis-ik/*
cp -rf /srv/apps/elasticsearch/plugins/analysis-ik/config /srv/apps/elasticsearch/config/analysis-ik/
rm -rf /srv/apps/elasticsearch/config/analysis-ik/*
cp -rf ./config /srv/apps/elasticsearch/config/analysis-ik/
cp ./synonym.dic /srv/apps/elasticsearch/config/analysis-ik/config/ik/custom/
# update es
echo "update self `hostname`"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment