|
@ -37,7 +37,7 @@ public class ElasticFactory {
|
|
* @param "http://localhost:9200"
|
|
* @param "http://localhost:9200"
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostConstruct
|
|
|
|
|
|
//@PostConstruct
|
|
public JestClient getJestClient() {
|
|
public JestClient getJestClient() {
|
|
synchronized (ElasticFactory.class) {
|
|
synchronized (ElasticFactory.class) {
|
|
if (factory == null) {
|
|
if (factory == null) {
|