Long time no blog, recently worked overtime to do the project, is doing search work, so tested ES, after countless failures, and finally successfully installed the Es+ik
From the Internet to find countless installation methods are the same, the installation is unsuccessful
ES 2.0 Installation
ES official website Download es2, after decompression can be executed, can be temporarily not configured, I only modified the data and log path
Download IK https://github.com/medcl/elasticsearch-analysis-ik
Installing MAVEN Java
I have been installed by Apt-get by default, configuring Classpath Java_home
Unzip ik, and enter IK
Perform MVN package compilation IK
Copy Elasticsearch-analysis-ik-master/target/releases/elasticsearch-analysis-ik-1.5.0.zip to Es's Plugin/ik directory and unzip
Also copy the elasticsearch-analysis-ik-master/config/ik/folder to the config of ES
Modify ELASTICSEARCH.YML Add the following line
Index.analysis.analyzer.ik.type: "Ik"
Then restart ES to test by adding data to the IK test method on GitHub
This article is from the "Ogo notes" blog, so be sure to keep this source http://zhixinhu.blog.51cto.com/3132199/1712654
Elasticsearch Installing the Chinese plugin IK