update to 1.1.1
This commit is contained in:
parent
e3a1854a4c
commit
54fd970591
2
pom.xml
2
pom.xml
@ -31,7 +31,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<elasticsearch.version>1.0.0</elasticsearch.version>
|
<elasticsearch.version>1.1.1</elasticsearch.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
@ -80,7 +80,7 @@ public class Dictionary {
|
|||||||
* 该方法提供了一个在应用加载阶段就初始化字典的手段
|
* 该方法提供了一个在应用加载阶段就初始化字典的手段
|
||||||
* @return Dictionary
|
* @return Dictionary
|
||||||
*/
|
*/
|
||||||
public static Dictionary initial(Configuration cfg){
|
public static synchronized Dictionary initial(Configuration cfg){
|
||||||
if(singleton == null){
|
if(singleton == null){
|
||||||
synchronized(Dictionary.class){
|
synchronized(Dictionary.class){
|
||||||
if(singleton == null){
|
if(singleton == null){
|
||||||
|
@ -1 +1,2 @@
|
|||||||
plugin=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
|
plugin=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
|
||||||
|
version=${project.version}
|
Loading…
x
Reference in New Issue
Block a user