Showing
1 changed file
with
2 additions
and
0 deletions
@@ -27,12 +27,14 @@ public class ESClientMgr { | @@ -27,12 +27,14 @@ public class ESClientMgr { | ||
27 | 27 | ||
28 | @PostConstruct | 28 | @PostConstruct |
29 | void init() { | 29 | void init() { |
30 | + Configuration.getConfiguration().initConfig("configuration.xml"); | ||
30 | this.getClient("productindex"); | 31 | this.getClient("productindex"); |
31 | this.getClient("default"); | 32 | this.getClient("default"); |
32 | } | 33 | } |
33 | 34 | ||
34 | /** | 35 | /** |
35 | * pi和其他的客户端分开,好像没啥用 | 36 | * pi和其他的客户端分开,好像没啥用 |
37 | + * | ||
36 | * @param indexName | 38 | * @param indexName |
37 | * @return | 39 | * @return |
38 | */ | 40 | */ |
-
Please register or login to post a comment