88 Commits

Author SHA1 Message Date
medcl
3e81847549 fallback for 7.x 2022-12-01 10:42:53 +08:00
medcl
9338c19104 update to 8.4.1 2022-09-02 18:44:03 +08:00
medcl
9c47725ea0 update for 7.14 2021-08-04 17:19:10 +08:00
Jack
5a1b8c8da6
Read chunked remote words (#817)
Fix chunked content could not be read as it will not get content length
I see there is an issue #780 and this fix it
2020-09-06 16:34:40 +08:00
medcl
1375ca6d39 fix #789 2020-06-10 16:05:01 +08:00
Howard
4619effa15 transfer log message from chinese to english (#746) 2019-12-19 15:31:04 +08:00
medcl
5f53f1a5bf Merge branch 'master' of github.com:medcl/elasticsearch-analysis-ik 2019-10-07 19:01:51 +08:00
medcl
904a7493ea update to 7.4.0 2019-10-07 19:01:29 +08:00
zhipingpan
06e8a23d18 Update AnalyzeContext.java (#673) 2019-05-01 16:57:44 +08:00
medcl
ba8bb85f31 update to support 7.x 2019-04-11 09:35:19 +08:00
medcl
125ac3c5e5 Merge branch 'pr/621' 2019-03-25 11:02:22 +08:00
medcl
f0dd522e60 Merge branch 'master' of github.com:medcl/elasticsearch-analysis-ik 2019-03-25 10:42:23 +08:00
medcl
9eaa2b90eb fix NPE 2019-03-06 19:02:56 +08:00
pengcong90
9873489ba7
Update AnalyzeContext.java
使用ik_smart切分 金力泰合同审批 切分的结果是(金  力  泰  合同  审批)但是使用ik_max_word切分结果是(金  力  泰合  合同  审批 批),这样就存在搜索(金力泰  金力泰合同审批) 搜索不到的情况,查看源码发现泰未在字典中,泰合  合同在字典中,导致smart切分消歧的时候按照逆向概率高的规则忽略了泰合,输出结果泰就单独切分了,可以在输出结果时判断下 字典中无单字,但是词元冲突了,切分出相交词元的前一个词元中的单字,这样就能解决这个问题
2018-11-21 11:00:29 +08:00
杨晓东
949531572b 修改适配elasticsearch 6.5.0 (#615)
Signed-off-by: 杨晓东 <03131302@163.com>
2018-11-20 13:36:39 +00:00
byronhe
1d750a9bdd Update AnalyzeContext.java (#617) 2018-11-20 13:15:37 +00:00
Rueian
5190dba198 Grant java.net.SocketPermission (#565) 2018-06-28 16:11:46 +08:00
medcl
0222529290 Remove intermediate elasticsearch directory within plugin zips 2018-06-19 11:25:29 +08:00
Figroc Chen
7028b9ea05 BOM handling of dict file (#517)
Signed-off-by: Peng Chen <figroc@gmail.com>
2018-04-02 13:29:22 +08:00
Figroc Chen
0e8ddbd749 ext dic&stopwords can be dir (#437)
allow dir for ext_dict and ext_stopwords in IKAnalyzer.cfg.xml
By: Peng Chen<figroc@gmail.com>
2018-02-24 16:40:21 +08:00
medcl
7a1445fdda update plugin-descriptor.properties, Close #514 2018-02-10 14:07:20 +08:00
medcl
50230bfa64 fix install by plugin command 2017-08-03 16:59:35 +08:00
medcl
b6ec9c0a00 update to support es5.0.0-beta1, Closes #282 2016-09-28 12:14:24 +02:00
medcl
168a798da8 support es 5.0.0-alpha5 2016-08-18 11:25:45 +08:00
medcl
7e86d7390a remove unused classes 2016-07-25 20:54:57 +08:00
medcl
341b586373 add config to enable/disable lowercase and remote_dict, Closes #241 2016-07-25 10:55:25 +08:00
tangyu
82432f1059 fix: Header ETag not exists will throw error: java.lang.NullPointerException #223 (#224) 2016-06-29 10:30:31 +08:00
medcl
f1d59921fe Merge branch 'master' of github.com:medcl/elasticsearch-analysis-ik 2016-06-13 10:34:20 +08:00
medcl
c94ef3884a Fix maven empty assembly id, Closes #208 2016-06-13 10:34:01 +08:00
Robert LU
26fe905cc6 Also load config from /etc/elasticsearch/analysis-ik (#197)
Support install by `bin/plugin`, dealing with config files reallocation
2016-05-25 17:07:25 +08:00
medcl
ca2bfe5732 merge code 2016-04-10 22:17:59 +08:00
medcl
b344f2e707 fix default analysis setting 2016-03-28 22:22:44 +08:00
Medcl
e673eca316 Merge pull request #144 from DevFactory/release/redundant-nullcheck-fix-1
Fixing redundant null check of value known to be non-null.
2016-03-27 21:12:43 +08:00
Medcl
c8f4d59f13 Merge pull request #145 from DevFactory/release/value-of-and-double-check-fix-1
Fixing the use of inefficient Number Constructor and Double check
2016-03-27 21:12:10 +08:00
Medcl
8c50edf0e0 Merge pull request #150 from DevFactory/release/casting-math-operands-fix-1
Casting math operands before assignment
2016-02-29 10:23:09 +08:00
ayman abdelghany
ba1823fb51 "public static" fields should be constant 2016-02-11 20:08:19 +02:00
ayman abdelghany
9768188eb2 Casting math operands before assignment 2016-02-11 20:04:45 +02:00
Ayman Abdel Ghany
5ec0bd5bd6 Use logger to log exceptions instead of printStackTrace(...) 2016-01-29 14:47:03 +02:00
Ayman Abdel Ghany
81ea266414 - replacing the inefficient Number constructor with static valueOf instead
- remove double-checked locking
2016-01-26 23:24:24 +02:00
Ayman Abdel Ghany
3d8fa5bee0 Fixing redundant nullcheck of value known to be non-null. 2016-01-26 22:23:30 +02:00
Medcl
3f0214a8e3 Merge pull request #140 from DevFactory/release/merge-if-with-enclosing-one-fix-1
Merging collapsible if statements increases the code's readability.
2016-01-26 09:43:41 +08:00
Ayman Abdel Ghany
1eed772f34 Replace the usage of System.out or System.err by a logger 2016-01-21 23:03:45 +02:00
Ayman Abdel Ghany
5fb03d2751 Merging collapsible if statements increases the code's readability. 2016-01-21 19:13:41 +02:00
medcl
71b5211781 pretty logging 2016-01-13 10:53:05 +08:00
medcl
f9977456ee move config files stay with plugin 2016-01-10 10:33:07 +08:00
medcl
2ea4c922de add deprecated annotation to unused class 2015-12-25 14:32:29 +08:00
medcl
33fb6ad67e fix null exception and update to support es2.1 2015-12-01 21:56:18 +08:00
wyhw
961b3a3f55 Elasticsearch upgrade 2.1 2015-11-26 16:20:34 +08:00
medcl
c77cfcb6ef update scope to GLOBAL 2015-11-26 16:02:31 +08:00
medcl
90ff4e4efb delete test config file 2015-10-31 21:12:35 +08:00