提交 8da12f34 编写于 作者: weixin_43283383's avatar weixin_43283383

update es to 5.5.1

上级 50230bfa
......@@ -11,7 +11,7 @@ Versions
IK version | ES version
-----------|-----------
master | 5.x -> master
5.5.0| 5.5.0
5.5.1| 5.5.1
5.4.3| 5.4.3
5.3.3| 5.3.3
5.2.2| 5.2.2
......@@ -31,28 +31,17 @@ Install
1.download or compile
download pre-build package from here: https://github.com/medcl/elasticsearch-analysis-ik/releases
* optional 1 - download pre-build package from here: https://github.com/medcl/elasticsearch-analysis-ik/releases
unzip plugin to folder `your-es-root/plugins/`
or compiled from the source:
checkout ik version respective to your elasticsearch version
`git checkout tags/{version}`
`mvn package`
copy and unzip `target/releases/elasticsearch-analysis-ik-{version}.zip` to `your-es-root/plugins/ik`
* optional 2 - use elasticsearch-plugin to install ( version > v5.5.1 ):
`./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.5.1/elasticsearch-analysis-ik-5.5.1.zip`
2.restart elasticsearch
Tips:
ik_max_word: 会将文本做最细粒度的拆分,比如会将“中华人民共和国国歌”拆分为“中华人民共和国,中华人民,中华,华人,人民共和国,人民,人,民,共和国,共和,和,国国,国歌”,会穷尽各种可能的组合;
ik_smart: 会做最粗粒度的拆分,比如会将“中华人民共和国国歌”拆分为“中华人民共和国,国歌”。
#### Quick Example
......@@ -249,6 +238,13 @@ mvn package
如:http://localhost:9200/your_index/_analyze?text=中华人民共和国MN&tokenizer=my_ik
4. ik_max_word 和 ik_smart 什么区别?
ik_max_word: 会将文本做最细粒度的拆分,比如会将“中华人民共和国国歌”拆分为“中华人民共和国,中华人民,中华,华人,人民共和国,人民,人,民,共和国,共和,和,国国,国歌”,会穷尽各种可能的组合;
ik_smart: 会做最粗粒度的拆分,比如会将“中华人民共和国国歌”拆分为“中华人民共和国,国歌”。
Changes
------
*5.0.0*
......
......@@ -12,7 +12,7 @@
<inceptionYear>2011</inceptionYear>
<properties>
<elasticsearch.version>5.5.0</elasticsearch.version>
<elasticsearch.version>5.5.1</elasticsearch.version>
<maven.compiler.target>1.8</maven.compiler.target>
<elasticsearch.assembly.descriptor>${project.basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
<elasticsearch.plugin.name>analysis-ik</elasticsearch.plugin.name>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册