update README
This commit is contained in:
parent
f9977456ee
commit
7bf3f97eaa
15
README.md
15
README.md
@ -10,7 +10,8 @@ Versions
|
||||
|
||||
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.5.0 | 2.0.0
|
||||
1.4.1 | 1.7.2
|
||||
@ -34,11 +35,9 @@ Install
|
||||
|
||||
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:
|
||||
|
||||
@ -175,7 +174,7 @@ Result
|
||||
|
||||
### Dictionary Configuration
|
||||
|
||||
#### `config/ik/IKAnalyzer.cfg.xml`
|
||||
#### `plugins/elasticsearch-analysis-ik-*/config/ik/IKAnalyzer.cfg.xml`
|
||||
|
||||
```xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
@ -223,7 +222,7 @@ have fun.
|
||||
|
||||
请确保你的扩展词典的文本格式为 UTF8 编码
|
||||
|
||||
2.如何手动安装,以 1.3.0 為例?(参考:https://github.com/medcl/elasticsearch-analysis-ik/issues/46 )
|
||||
2.如何手动安装?
|
||||
|
||||
|
||||
```bash
|
||||
@ -232,9 +231,11 @@ cd elasticsearch-analysis-ik
|
||||
mvn clean
|
||||
mvn compile
|
||||
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
|
||||
------
|
||||
YourKit supports IK Analysis for ElasticSearch project with its full-featured Java Profiler.
|
||||
|
Loading…
x
Reference in New Issue
Block a user