64 Commits

Author SHA1 Message Date
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
medcl
3d47fa6021 update to support es 2.0 2015-10-31 20:59:13 +08:00
shikui
7cdb1773ec 处理 HTTP 304,不写日志 2015-08-07 22:57:03 +08:00
songliu
86813f5be9 去掉304的处理
304不应该和200做相同处理,否则就失去热词更新的意义了。
2015-08-07 15:10:27 +08:00
shikui
2cbd91c6c0 1、将http 304作为正常状态处理;2、应为ETag,而不是ETags
1、将http 304作为正常状态处理,避免大量304错误写到日志文件里;2、应为ETag,而不是ETags
2015-08-03 17:46:23 +08:00
rockybean
bb27162a24 fix reload dict error , optimize code and add some useful log 2015-01-22 16:35:50 +08:00
rockybean
b97a6d89d8 optimize Dictionary reload process 2015-01-21 15:28:05 +08:00
arron
6c29956a8f Update Monitor.java
-- 配合 Dictionary里的周期任务调度的修改 去除了这里的while(true)  Exception做了统一  其余均未作修改
2014-12-04 11:18:29 +08:00
arron
8a49a5ed88 Update Dictionary.java
-- 修改的 建立监控线程部分代码 改用ScheduledExecutorService, 之前的while(true) sleep不能算是一种优雅的执行周期任务的方式,相应的Monitor类将while部分做了剔除
2014-12-04 11:16:23 +08:00
medcl
fbaff41805 package missing lib,update to support 1.4.0 2014-11-09 11:09:15 +08:00
elasticsearch-ik
ddef2a1051 Create Sleep.java
设置休眠
2014-09-24 16:26:42 +08:00
elasticsearch-ik
f0dc55aad6 Update Dictionary.java
给远程加载建立监控
2014-09-24 16:21:31 +08:00
elasticsearch-ik
11a8947603 Create Monitor.java
监控线程,监控远程词典的更新
2014-09-24 16:14:08 +08:00
elasticsearch-ik
092a9ad769 Update Configuration.java
在配置中增加远程词典和远程停用词,以及它们的配置读取
2014-09-24 15:46:30 +08:00
medcl
1f80b50a9f fix offset problemn while create the custom analyzer combined with html_strip filter, @xpandan 2014-09-17 17:19:30 +08:00
medcl
ee419af6ea add default config 2014-09-11 11:08:11 +08:00
medcl
bafb724c89 #33 fix performance issue 2014-07-04 18:58:22 +08:00
medcl
54fd970591 update to 1.1.1 2014-07-04 17:23:38 +08:00
medcl
29d6224f5c fix issue #31 2014-05-05 10:42:04 +08:00
medcl
e2fb31a55e bug fix,prefix blank char caused ArrayIndexOutOfBoundsException 2013-12-13 16:39:30 +08:00
medcl
a542bbc229 lowercased before check the some dict 2013-11-12 15:42:42 +08:00
arkxu
6480991bbb make it work with the latest elasticsearch 2013-11-10 18:05:34 -08:00
medcl
ce6e7fd070 update to 1.2.3 2013-11-06 10:15:32 +08:00
medcl
72718510e4 accept tips from hemingwang 2013-08-21 09:54:02 +08:00
piaolingxue
1d47943023 add Inject Annotate to IkTokenizerFactory. 2013-06-17 11:55:17 +08:00