Class ElasticsearchRestClientAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration

@AutoConfiguration @ConditionalOnClass(org.elasticsearch.client.RestClientBuilder.class) @EnableConfigurationProperties({ElasticsearchProperties.class,ElasticsearchRestClientProperties.class}) @Import({org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientBuilderConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestHighLevelClientConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientFromRestHighLevelClientConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientConfiguration.class,org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientConfigurations.RestClientSnifferConfiguration.class}) public class ElasticsearchRestClientAutoConfiguration extends Object
Auto-configuration for Elasticsearch REST clients.
Since:
2.1.0
Author:
Brian Clozel, Stephane Nicoll
  • Constructor Details

    • ElasticsearchRestClientAutoConfiguration

      public ElasticsearchRestClientAutoConfiguration()