@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=org.elasticsearch.client.RestHighLevelClient.class)
@ConditionalOnMissingBean(value=org.elasticsearch.client.RestClient.class)
@EnableConfigurationProperties(value={ElasticsearchProperties.class,ElasticsearchRestClientProperties.class,org.springframework.boot.autoconfigure.elasticsearch.DeprecatedElasticsearchRestClientProperties.class})
@Import(value={org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientBuilderConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestHighLevelClientConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientSnifferConfiguration.class})
public class ElasticsearchRestClientAutoConfiguration
extends Object
- Since:
- 2.1.0
- Author:
- Brian Clozel, Stephane Nicoll