@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.data.elasticsearch.core.ElasticsearchTemplate.class) @AutoConfigureAfter(value={ElasticsearchAutoConfiguration.class,RestClientAutoConfiguration.class,ReactiveRestClientAutoConfiguration.class}) @Import(value={org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataConfiguration.BaseConfiguration.class,org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataConfiguration.TransportClientConfiguration.class,org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataConfiguration.RestClientConfiguration.class,org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataConfiguration.ReactiveRestClientConfiguration.class}) public class ElasticsearchDataAutoConfiguration extends Object
Auto-configuration
for Spring Data's Elasticsearch
support.
Registers an ElasticsearchTemplate
if no other bean of the same type and the
same name "elasticsearchTemplate"
is configured.
EnableElasticsearchRepositories
,
EnableReactiveElasticsearchRepositories
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.