提交 7bf3f97e 编写于 作者: weixin_43283383's avatar weixin_43283383

update README

上级 f9977456
...@@ -10,7 +10,8 @@ Versions ...@@ -10,7 +10,8 @@ Versions
IK version | ES version IK version | ES version
-----------|----------- -----------|-----------
master | 2.1.0 -> master master | 2.1.1 -> master
1.7.0 | 2.1.1
1.6.1 | 2.1.0 1.6.1 | 2.1.0
1.5.0 | 2.0.0 1.5.0 | 2.0.0
1.4.1 | 1.7.2 1.4.1 | 1.7.2
...@@ -34,11 +35,9 @@ Install ...@@ -34,11 +35,9 @@ Install
copy and unzip `target/releases/elasticsearch-analysis-ik-{version}.zip` to `your-es-root/plugins/ik` copy and unzip `target/releases/elasticsearch-analysis-ik-{version}.zip` to `your-es-root/plugins/ik`
2.config files:
download the dict files,unzip these dict file into your elasticsearch's config folder,such as: `your-es-root/config/ik` 2.restart elasticsearch
3.restart elasticsearch
Tips: Tips:
...@@ -175,7 +174,7 @@ Result ...@@ -175,7 +174,7 @@ Result
### Dictionary Configuration ### Dictionary Configuration
#### `config/ik/IKAnalyzer.cfg.xml` #### `plugins/elasticsearch-analysis-ik-*/config/ik/IKAnalyzer.cfg.xml`
```xml ```xml
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
...@@ -223,7 +222,7 @@ have fun. ...@@ -223,7 +222,7 @@ have fun.
请确保你的扩展词典的文本格式为 UTF8 编码 请确保你的扩展词典的文本格式为 UTF8 编码
2.如何手动安装,以 1.3.0 為例?(参考:https://github.com/medcl/elasticsearch-analysis-ik/issues/46 ) 2.如何手动安装
```bash ```bash
...@@ -232,9 +231,11 @@ cd elasticsearch-analysis-ik ...@@ -232,9 +231,11 @@ cd elasticsearch-analysis-ik
mvn clean mvn clean
mvn compile mvn compile
mvn package mvn package
copy & unzip file #{project_path}/elasticsearch-analysis-ik/target/releases/elasticsearch-analysis-ik-xxx.zip to your elasticsearch's folder: plugins/ik
``` ```
copy & unzip file #{project_path}/elasticsearch-analysis-ik/target/releases/elasticsearch-analysis-ik-*.zip to your elasticsearch's folder: plugins/ik
Thanks Thanks
------ ------
YourKit supports IK Analysis for ElasticSearch project with its full-featured Java Profiler. YourKit supports IK Analysis for ElasticSearch project with its full-featured Java Profiler.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册