One, download the latest IK participle source from GitHub to local
git clone Https://github.com/medcl/elasticsearch-analysis-ik
Clone to local, copy the config/ik/entire directory in the Elasticsearch-analysis-ik directory to the config directory of the Elasticsearch installation directory.
Second, overwrite the elasticsearch.yml file in config in the Elasticsearch-analysis-ik directory with the elasticsearch.yml file in the Config directory elasticsearch the installation directory.
third, go to the Elasticsearch-analysis-ik directory of the Clone , and execute the MAVEN command package:
MVN Clean Package
If you do not have MAVEN tools installed, you will need to install the Maven tool and install the specific installation instructions on the website.
After executing the above command, IK's word breaker is ready, and the installation begins.
Four, run the plugin command in the bin directory under the Elasticsearch installation path to install the word breaker package that was just compiled:
Plugin-install Analysis-ik-url file:///#{project_path}/elasticsearch-analysis-ik/target/releases/ Elasticsearch-analysis-ik-1.4.0.zip
This way the IK Chinese participle is installed.
Elasticsearch Installing IK Chinese word-breaker