53 Commits

Author SHA1 Message Date
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
81ea266414 - replacing the inefficient Number constructor with static valueOf instead
- remove double-checked locking
2016-01-26 23:24:24 +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
piaolingxue
963fac4771 add ik tokenizers and remove some useless class[IkAnalyzer]. 2013-06-17 11:45:39 +08:00
medcl
07ba4ece55 fix dict loading 2013-05-31 14:32:22 +08:00
wangweihua
5e14e3d629 elasticsearch ik 0.20.x => 0.90.x 2013-05-09 13:46:25 +08:00
medcl
5f5dcf065d fix hit.java with the correct encoding 2013-03-05 21:57:33 +08:00
medcl
29b6454817 fix logging 2013-02-13 18:27:22 +08:00
medcl
7d91be5009 udpate ik to last version,made mode selectable 2013-02-13 01:39:36 +08:00
medcl
7e250c3a12 update config 2012-12-13 22:06:39 +08:00
medcl
7607a66e0e fix logging 2012-12-13 22:05:52 +08:00
medcl
f86496a8d7 update build config 2012-05-22 18:29:42 +08:00
mailsurfie
52d3a6bab9 fix bug when upgrading to elasticsearch-0.19.4 2012-05-22 15:26:48 +08:00
medcl
b5841918ff bug fix,wrong location of the dict files 2011-12-28 16:23:11 +08:00