This commit is contained in:
xiongxiaoyang
2021-01-21 21:23:19 +08:00
parent 5c67139f7c
commit a7b80dceeb
2 changed files with 7 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ public class EsConfig {
@Value("${spring.elasticsearch.jest.uris}")
private String esUris;
@Bean
@Bean(destroyMethod = "close")
public RestHighLevelClient esClient(){