@Configuration @ConditionalOnClass(value=org.elasticsearch.client.RestHighLevelClient.class) public static class ElasticsearchRestAutoConfiguration.RestHighLevelClientConfiguration extends Object
| Constructor and Description |
|---|
RestHighLevelClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.client.RestHighLevelClient |
restHighLevelClient(org.elasticsearch.client.RestClientBuilder restClientBuilder) |
@Bean
@ConditionalOnMissingBean
public org.elasticsearch.client.RestHighLevelClient restHighLevelClient(org.elasticsearch.client.RestClientBuilder restClientBuilder)
throws IOException
IOExceptionCopyright © 2019 battcn开源组. All rights reserved.