@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.elasticsearch.client.RestHighLevelClient.class) @ConditionalOnMissingBean(value=org.elasticsearch.client.RestClient.class) @EnableConfigurationProperties(value=ElasticsearchRestClientProperties.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
Auto-configuration
for Elasticsearch REST clients.